Jump to content

Catching Import Export Errors


The Bridge
 Share

This topic is 7238 days old. Please don't post here. Open a new topic instead.

Recommended Posts

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.

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

This topic is 7238 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.