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.

Easy find script not so easy...

Featured Replies

I've seen this before, but trying to figure it out has gone beyond me.

I have a layout that displays a few fields for a record. I also have a layout setup to help in finding records based on cross reference numbers. If the user looks for a certain number and finds more than one record, I'd like to have a list that a user could choose from to view in the main layout.

The only thing I can't find is how to do an "If" if the "found set" is more than one record, so I could instruct FM to either change to the list view or even to another layout that could accomodate the user for making their choice.

Anybody got any ideas? I've seen this in another FM database a couple of years ago...

In a script user the following

If (Status(CurrentFoundCount) > 1)

Goto Layout X

Else

Goto layout Y

EndIf

Hope this helps

  • Author

Ah! 1,000 Thank yous! smile.gif" border="0

Now - where, may I ask, di you get or learn this information? I've got a few books on FM, but they didn't cover this aspect of FM in any great detail - any recommendations?

laugh.gif" border="0

Hit the help key and look through the Status () functions. There are quite a field good things there. Error codes are also worth a look.

-bd

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.