Jump to content

This topic is 7877 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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??

Posted

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!

Posted

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?

Posted

<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?

Posted

note:

"_thisformat.fp5" won't be shared

and also waht Unable said about spaces in names

all the best!

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.