jd9027 Posted October 12, 2006 Posted October 12, 2006 How can I make file maker run a script when a user selects ..Edit or ..Other from a popup list or popup menu. Can I make it so that FM will take the user to a different layout when someone chooses Edit or other form the dropdown list?
aldipalo Posted October 12, 2006 Posted October 12, 2006 Make a global field gLayout And a Global variable $$Layout Allow User Abort [Off] Set Error Capture [On] Set Variable [$$Layout,Value:yourtablename::gLayout] Go To Layout($$Layout) Make gLayout a Drop down field and set your valuelist. Then create a button and chose "Perform Script" on the bottom set up your scriptparameter as $$Layout. Now when you chose a layout name and click the button it will bring you to the chosen layout.
Recommended Posts
This topic is 6678 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