Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Use a part of a search in another database

Featured Replies

  • 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??? crazy.gif" border="0

  • 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

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

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.

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

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.