February 25, 200223 yr Newbies 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?
February 25, 200223 yr 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
February 26, 200223 yr Author Newbies 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.
Create an account or sign in to comment