Newbies hurstds Posted February 25, 2002 Newbies Posted February 25, 2002 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?
andygaunt Posted February 25, 2002 Posted February 25, 2002 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 hurstds Posted February 26, 2002 Author Newbies Posted February 26, 2002 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now