Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

  • Newbies
Posted

When you specify a specific file for FMP to import and the file is not in the correct location, you get an error message that says FM cannot locate the file and the import cannot be completed. There appears to be no error code you can capture to deal with this issue.

Can someone help?

Posted

Hi,

If you create your script in this way it should be ok.

Set Error Capture (on)

Import records [restore, perform without dialog and specify the file]

If Status(currenterror) = 100

Show message [ Cannot import. file is missing!]

Exit script

Else

[do something here if import successful)

EndIf.

With error capture on at the beginning it is down to you to trap for them, and the user will not see any error from filemaker.

HTH

  • Newbies
Posted

Andy--you are awesome! Sometimes I can look and look and look at a script--only to see that I didn't put in the error capture command! Thanks! When you're in Phoenix, I'll buy a round or two.

This topic is 8307 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
×
×
  • Create New...

Important Information

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