I hope I'm in the right place...I'm using FMP ver7 and I'm trying to do two things. The first is, I've got a button that when clicks runs a script that does a simple search and returns all fields that match a specific criteria that is built into the script...instead of having the specific criteria say all fields that have the word "recorded" in them...I want to have that populated by a drop down list so i don't have to have a button for each report I can just have one button and a drop down that will allow me to select the variable I want to search for. Make sense?
My next question is this. I also would like to have a button that would run a script that looks at a specific field and if that field name matches the name of a layout it would go to that layout but if there is not a layout by that name it would return a message saying such.
I appreciate all the help I can get on this. Thanks!