November 16, 200619 yr 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.
November 16, 200619 yr 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
November 16, 200619 yr 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:
Create an account or sign in to comment