January 17, 200223 yr Newbies 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???
January 18, 200223 yr Author Newbies 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
January 18, 200223 yr 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.
January 18, 200223 yr 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
Create an account or sign in to comment