Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 7962 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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

Posted

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

Posted

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

This topic is 7962 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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