Search value list script - Help
I have created a button that I would like to specify as a search function (preform find) from a value list in a specific field within a record.
Specifying the field is no problem, but I am stuck on how to have the results specific to a value in my value list.
i.e.: Each record has a field with a value list. I have 8 values in the value list - and wanted to create 8 'search' buttons, to display records in a list format specific to each value.
Hopefully that makes sense? Is it a script that I need? or is there an inbuilt option that I've missed? It's been driving me nuts for 2 days - any help would be appreciated. I'm using FileMaker Pro 11
Take a look at the scripted find examples shown here: Scripted Find Examples
You can set up one script for your finds and have all eight buttons perform that same script but pass a different value to the script as a script parameter. You can then use (in find mode): Set Field [YourTable::Field ; Get ( ScriptParameter ) ] to specify the find criteria.