Newbies tbelcher Posted April 27, 2009 Newbies Posted April 27, 2009 I'm having problems with creating a script that will allow the user to check off multiple options to search the same field for. This solution must work for FMP v6, as that is what the company has installed on the end user's machines. The details are: I have a Value List(breeds) that is displayed as checkboxes (gGlobal). If these user wants to find two types of dogs, they'd click the checkboxes next to "Dalmatian" and "Poodle" and click a button that would run a script that does the following: -Enter find mode -See how many checkboxes are ticked -loop performing a search based on each box thats ticked, extending the found set. Sounds relatively easy to me, but I can't seem to get it to work in version 6. Any help is appreciated.
IdealData Posted April 28, 2009 Posted April 28, 2009 Why can't they just make a 'normal' find request? Enter Find mode select 'Poodle' New record/request select 'Dalmation' perform find
Newbies tbelcher Posted April 28, 2009 Author Newbies Posted April 28, 2009 I was trying to make it a little more elegant than that. In my mind, selecting the species you want to search for and then hitting a "run report" button is nicer. Tim
IdealData Posted April 29, 2009 Posted April 29, 2009 Appreciate what your saying, but you're imposing upon yourself... You'll need another layout with some GLOBAL fields (otherwise the user would be editing the current record) that are the equivalents to the 'Breed' field Once you've got the globals entered then you can run your script. As you can see this requires a click to start the routine (change layout) and a click to complete the routine - which is no different to starting a find request and completing it.
Recommended Posts
This topic is 5686 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