Jump to content

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

Recommended Posts

Posted

Geesh, I just can't grasp this token thing!

I'm in DB1

<FORM METHOD="POST" ACTION="FMPro">

I set the token to the field

<INPUT TYPE="hidden" NAME="-token" VALUE="[FMP-field: acme]">

I'm going to DB2

<INPUT TYPE="hidden" NAME="-db" VALUE="db2.fp5">

<INPUT TYPE="hidden" NAME="-lay" VALUE="Working">

<INPUT TYPE="hidden" NAME="-format" VALUE="showme.html">

<INPUT TYPE="hidden" NAME="-error" VALUE="oops.html">

I want to search in DB2 in the field "acme2" with the value of the token which is the value of the field "acme"

<input type="text" size=12 name="acme2" value="[FMP-CurrentToken]">

<INPUT TYPE="submit" NAME="-FIND" Value="Search" SIZE="40">

</FORM></td>

Alas, it shows me the error, if I change

<input type="text" size=12 name="acme2" value="[FMP-CurrentToken]">

to

<input type="text" size=12 name="-token" value="[FMP-CurrentToken]">

it shows me all records.

Thoughts?

r

Posted

well, once again, I was trying to use token where none was necessary.

By replacing [fmp-currentoken] with [fmp-field: acme] it worked great.

I clearly don't understand what they do and when ya need 'em!

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