Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

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

Recommended Posts

  • Newbies
Posted

I have two databases, first I make a search in one of them. That search, generates two words. Then I want to "take with me" this two words to continue the search with them in a second database. What CDML-tag shall I use to succeed my second part of the searchin the second database? I will use "this" tag in a hidden field? Any ideas??? crazy.gif" border="0

  • Newbies
Posted

quote:

Originally posted by Anatoli:

You can put that into hidden field(s) or carry that further in Token.

Thanks for your answer. I have tried to put it into a hidden field, with the search words. When I got the answer from the second database, it`s "error 101" - Post is missing, but I can gurantee, that there is a lot of posts in that database.

/Peter

Posted

quote:

Originally posted by peber:

Thanks for your answer. I have tried to put it into a hidden field, with the search words. When I got the answer from the second database, it`s "error 101" - Post is missing, but I can gurantee, that there is a lot of posts in that database.

/Peter

You may be missing the -RecID tag in your second call to the database. Include something like this in your second form:

<input type="hidden" name="-RecID" value="[FMP-CurrentRecID]">

This tag is required when using the -Edit or -Delete action tags.

Posted

As Anatoli said I would consider using Tokens. For example:

In the first format (results) file:

<input type="hidden" name="-token.1" value="[FMP-Field: myfield1]"><input type="hidden" name="-token.2" value="[FMP-Field: myfield2]">

You can use these tokens in the next format file with:

[FMP-CurrentToken: 1]

[FMP-CurrentToken: 2]

or you can use them with an InlineAction:

[FMP-InlineAction: -db={CurrentDatabase}, -lay={CurrentLayout}, myfield1={CurrentToken: 1}, myfield2={CurrentToken: 2}, -find] Show the Results Here [/FMP-InlineAction]

Hope this helps.

Garry

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