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.

Very Simple Find Question

Featured Replies

  • Newbies

Ok, so I am making a very simple Book Inventory DB. All I want to do is make a button that will sit besides the "Author" "Series" "Ratings" and "Genre" fields that, when clicked, will look at the current information in the appropriate field and pull up al records that match. I can't figure out how to set up the button to look at a specific field.

Thanks for your help.

Jbob

This solution by NightWing might solve your problem.

Its a free demo so take a look at it.

http://www.nightwing.com.au/FileMaker/demos8/demo808.html

HTH

If you have FM 7 or later, you can send script parameter to script "Find Data" with your field contents...

Example:

Field: |AuthorField| [button]

On button you append script "Find Data" with script parameter AuthorField.

Script:

EnterFindMode

Set Field [AuthorField; Get (ScriptParameter)]

PerformFind

  • Author
  • Newbies

Ok, I got most of it. I have the find script written, but I am not getting how you send the information to that script.

Right now I just have

Enter Find Mode []

Set Field [books::Author]

Perform Find[]

When you push the button, it just says that there are no valid Criteria for this request. So I didn't fully understand how to get the second part of the "Set Field" part of the script.

Thanks for your help!

That is done where you assign script on a button in the "button setup". There you choose perform script and where you choose script form the list, on the bottom is optional script parameter and as script parameter you pass the field you wish to search on.

And you have to change setfield script step and include Get ( ScriptParameter ) as I wrote in first post.

  • Author
  • Newbies

That worked beautifully!!!!

Thanks so much!!!

Edited by Guest

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.