kiwiora Posted February 6, 2003 Posted February 6, 2003 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??
Ugo DI LUCA Posted February 6, 2003 Posted February 6, 2003 That is the way it works actually. have a look to this thread But there is a new feature in FM 6.0 for "constraint find" if you're running it.
kiwiora Posted February 6, 2003 Author Posted February 6, 2003 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.
Pupiweb Posted February 8, 2003 Posted February 8, 2003 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
Ugo DI LUCA Posted February 8, 2003 Posted February 8, 2003 Thanks for sharing that tip ! Very useful. The most I read here, the less I need to buy FM6. Thanks again.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now