ABCRobstown Posted November 16, 2006 Posted November 16, 2006 I have the following script: Show Message ["Click cancel to stop transfer of grades"] If ["Status (CurrentMessageChoice) = 2"] Halt Script End If Perform Script [sub-scripts, "Update grade 5"] However, when I click the cancel button the script does not cancel but continues on and updates the grade. Any help would be appreciated.
DukeS Posted November 16, 2006 Posted November 16, 2006 It skips If statement, check if you realy have button number two for canceling script ( Default Ok = 1, Default Cancel = 2 ). And I see that you have If [] in " ". If you wrote "Status ( CurrentMessageChoice ) = 2" it won't work but I am not sure ( not developing with FM6 for a while ). HTH
LaRetta Posted November 16, 2006 Posted November 16, 2006 In vs. 6 and lower, the quotes would appear in the script definition and also if printing the script. I was pleased to see them go. :wink2:
Recommended Posts
This topic is 6584 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