July 12, 200520 yr I have a script that goes from Layout A to Layout B and pauses to allow data entry from the user. On Layout B I have a number of buttons that allow the user to "auto-fill" specific fields together with a button that takes the user back to Layout A. e.g. Button 1: Scripted Routine 1 Button 2: Scripted Routine 2 Button 3: Return to Layout A If the user selects Button 3: "Return to Layout A" during my scripted routines for Button 1 or Button 2, how can I disallow this action so that the user must finish the scripted routines?
July 12, 200520 yr Make one of your first steps "Allow User Abort" "OFF" Be sure that you have the scripts working correctly before using this step. HTH Lee
July 13, 200520 yr or you can use a flag field / status field (a global - so that it is unique for each user). Script1 sets the flag to 1 at the start of its script. The other scripts check the flag field as the first script step and exit if that field is 1.
Create an account or sign in to comment