Jump to content

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

Recommended Posts

Posted

I have a simple search page that returns a results page with FMP-Record tags to return multiple records. On that page I need to be able to edit one of the field. It does contain <P><INPUT TYPE="hidden" NAME="-RecID" VALUE="[FMP-currentrecid]"></P> between the record tags and the form info before the record tags. Everytime I try to edit a record it edits the first record of the next set of results. Like record 26 if it returns 25 in a group or 11 if it returns 10. This shouldn't be this difficult and I am probably missing something simple.

listview.txt

Posted

If you have multiple records on a result page you will not be able to use a single form to edit just one of the records (unless you use Javascript). You should use a URL aligned to each record; which contains the -RecID.

Good Luck.

Garry

Posted

hi

i would compare the code you're getting back within your result page

it must be looking something like this:

<a href="fmpro?-db=xxx&-lay=yyy&-format=zzz.html&recid=24&-find">edit me</a>

and the "recid" of the corresponding record in your database. they have to be

the same. --> don't mix up "recid" and "recnumber"

regards

mimmo

This topic is 8260 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.