Sam Laundon Posted August 2, 2002 Posted August 2, 2002 Another token question. I want to create a search with the search field hidden and use a token as the field to search. In this example I am using the record ID as the token. I have not been able to get the search to search that token record Id. What happens is the search results give me the first record id in the database not the specific record id that the token indicates (example: the token shows record id 027, but when I get to the search results the record id is 004 - the first record in the database. How do I create a search using the -token record id that will return a search on that specific record id. Once again, thanks for your help
Keith M. Davie Posted August 2, 2002 Posted August 2, 2002 Record ID and recid are inherent to FileMaker. Change the name of your field to something like dbid (you can always identify it on the layout with any name you want, but refer to it in your codes as dbid). Then your link might include something like ...&dbid=[fmp-currenttoken.3]...
Garry Claridge Posted August 2, 2002 Posted August 2, 2002 Would this work for you: <input type="hidden" name="-recid" value="[FMP-CurrentToken]"> Where the CurrentToken is the the 'Record ID' you are finding. All the best. Garry
Recommended Posts
This topic is 8218 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