Jump to content

Show Message Script step help


This topic is 6967 days old. Please don't post here. Open a new topic instead.

Recommended Posts

First of all I want to thank Moonshadow for aal the help that has been provided in getting this databse up and running I have a couple of other smal issues that I need assistance on. I am devoleping a Dispatch database for a small ambulette company. I have a field that is a time field to cancel a call, When they click on the box to timestamp the field it omits the call but what I want to do is setup a Message script box. The box will say "Are you sure you want to cancel this call?" The user will have the option as "yes" continue on with he rest of the script to omit the record or "no" go back to the page you were on. What is each step to do this?

Thanks for the help.

Link to comment
Share on other sites

Show Custom Dialog ["Are you sure you want to cancel this call?"] {Buttons are 1: Yes, 2: No}

If [status(CurrentMessageChoice) = 2]

Exit Script

End If

{remainder of script steps}

Link to comment
Share on other sites

The only thing I would do different is to swap the buttons so that clicking the NO button or clicking the "X" close window has the same effect. Then the If step would be 1 instead of 2. the rest of the script would be the same.

Link to comment
Share on other sites

This topic is 6967 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.