Ron Cates Posted October 6, 2010 Posted October 6, 2010 I have a script to import a .csv file. Once the file is selected a number of other processes run on the imported records. When a user cancels the file selection dialog the script continues without the imported file. Is there a way I can capture for this cancel and exit the script? Thanks
Vaughan Posted October 6, 2010 Posted October 6, 2010 Error = 1 is "user cancelled action" so trap for this after the import step. Use Set Error Capture [on] before the import.
Ron Cates Posted October 7, 2010 Author Posted October 7, 2010 Just what I needed. Thank you so much!!
Recommended Posts
This topic is 5160 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