e3digital Posted August 22, 2003 Posted August 22, 2003 How do you program the buttons in a message to do what the text says? I have a TimeClock file which keeps track of the amount of time I'm working on my current project. I have a script in this file which inserts my quitting time. In the file I'm actually working on (SES DB) I have a script which triggers the script in TimeClock and then quits FMP. This works fine. Here's where my question comes in...there are times when I would like to stop working on the current project but keep FMP open. In the SES DB script I Show Message, ("Do you want to quit FileMaker Pro?") but I don't know how to program the buttons so that the program does or doesn't quit. Thanks for your help, Susan
oilman Posted August 22, 2003 Posted August 22, 2003 Hi Susan In your script below the show message add the following If (status(current message choice)=1 exit application (is closing FM) else close program (or whatever function you would like to preform) Lionel
e3digital Posted August 22, 2003 Author Posted August 22, 2003 Thank you Lionel! I knew there had to be an If statement, but I didn't know how to tell it what to do if... Thanks a lot! Susan
Garry Claridge Posted August 25, 2003 Posted August 25, 2003 Thank you. I've just used it also. All the best. Garry
Recommended Posts
This topic is 7765 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