xtrim Posted July 8, 2003 Posted July 8, 2003 Hi I have a web page with a link to delet a record. The problem is that most of the time it is working, but sometime it sais that "the record was not found" although it is ( i trippled checked it)... <FORM ACTION="FMPro" METHOD="POST"> <P><INPUT TYPE="hidden" NAME="-DB" VALUE="web users"> <INPUT TYPE="hidden" NAME="-Lay" VALUE="WebMain"> <INPUT TYPE="hidden" NAME="-recid" VALUE="[fmp-currentrecid]"><INPUT TYPE="hidden" NAME="-Token" VALUE="[FMP-CurrentRecID]"><BR> [/FMP-IF][FMP-IF: reservations_history::released.eq. Y] <<META HTTP-EQUIV="Content-Type" CONTENT="text/html;CHARSET=iso-8859-1"><meta http-equiv="refresh" content="1; url=http://fmp:591/FMPro?-DB=reservations.fp5&-Format=del_sys_reply_transfer.htm&-RecID=[fmp-field:reservations::rec_id]&-token=[fmp-currentrecid]&-Delete" > [/FMP-IF] </FORM> What seems to be the problem??
Leb i Sol Posted July 8, 2003 Posted July 8, 2003 Hi Xtrim! -- meta http-equiv="refresh" content="1 -- this is where the "problem" is.....the fact ur getting the message that record not found (on Delete) is because the record is already deleted. If you want u could have an [if] statement that will confirm this on error page: [FMP-If: CurrentError .eq. XXX] This record already deleted/does not exist [/FMP-IF] http://www.eske.net/jeff/FMPErrors.htm All the best!
xtrim Posted July 9, 2003 Author Posted July 9, 2003 Hi After I got this message I went to check the record, and it was there.... I think it is something else (maybe load on the server??) Anything else?
Unable Posted July 9, 2003 Posted July 9, 2003 <INPUT TYPE="hidden" NAME="-DB" VALUE="web users"> Rename the db file (and all format file references) to either web_users or webusers. Spaces should be avoided. [/FMP-IF][FMP-IF: reservations_history::released.eq. Y] Where is the [FMP-IF] for that end tag?
Leb i Sol Posted July 9, 2003 Posted July 9, 2003 note: "_thisformat.fp5" won't be shared and also waht Unable said about spaces in names all the best!
xtrim Posted July 10, 2003 Author Posted July 10, 2003 Tnks 4 your help guys. I did as you said. I'll c in the next few days if it is stable.
Recommended Posts
This topic is 7877 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now