Newbies hurstds Posted February 25, 2002 Newbies Share 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? Link to comment Share on other sites More sharing options...
andygaunt Posted February 25, 2002 Share 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 Link to comment Share on other sites More sharing options...
Newbies hurstds Posted February 26, 2002 Author Newbies Share 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. Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 7695 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