The Bridge Posted December 21, 2001 Posted December 21, 2001 I believe that Status(CurrentError) returns 1 when a user cancels an action. So far the only FileMaker dialog that I've encountered that this doesn't work with is the Ask User to Disconnect dialog that appears when you switch MultiUser to Off. At any rate, I just did a preliminary test. Place If...End If immediately after your Import Records script step and test for CurrentError=1. Note: if Allow User Abort is On, then if the user aborts the import FileMaker will treat it as if the user has cancelled the script.
FUBAR Posted December 21, 2001 Posted December 21, 2001 Sweet success! 15 minutes and my work term is over and then it's back into school (I'm a co-op student) Wasn't really expecting an answer but hey I tried and thanks to you it paid off Merry Christmas and all that other jazz
The Bridge Posted December 22, 2001 Author Posted December 22, 2001 From one former co-op student to another, congratulations and I'm happy to have been able to help (pardon all those h's). Happy holidays!
FUBAR Posted December 22, 2001 Posted December 22, 2001 I know when there's no records from a find, you can use Status(CurrentError) = 401 and then do what you want from there. But what about for Exporting and Importing? Meaning, if you have a script with an Import or Export command in the middle of it, but during the Import/Export the user cancels (during where they are setting up the layout order) how can I catch this error and stop the script there instead of continuing it?
Recommended Posts
This topic is 8373 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