Skip 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.

Scripting a constrained found set

Featured Replies

Ok.. I have a whole heap of records. defining field is tower - highrise or skyrise. From the main menu they select say "highrise" this then performs a script of

Perform find [tower=highrise]

Goto Layout

I need to be able to script a constrained search so that they can search on whatever field they like, but it will only return that search within tower=highrise.

I just created a button/script which only line was

Modify find

and this seems to work??? sounds all too simple to me?? grin.gif

  • Author

yeah I have FMP 6.0 and found the constrain set function but i had difficulty scripting it.

Sure I can do my initial search (Tower=Highrise) and then go into find mode and then select Requests/constrain set manually. I just couldn't work out how to script it so that it automatically pauses after tower=highrise and then awaits the user defined search, then sets that search to constrain. crazy.gif

Modify last find will work providing users cannot access the TOWER field and modify the search criterion it contains

Alternatively you might modify your script adding an hidden search criterion

Go to layout [search] (no TOWER field in it)

Enter Find mode (Pause)

-- User enters criteria --

Set field (Tower, "highrise")

Perform Find

This will add the criterion Tower="highrise" to any search ... it will work with any FM version

Thanks for sharing that tip ! laugh.gif

Very useful. The most I read here, the less I need to buy FM6. smirk.gif

Thanks again.

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

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.