Toni Posted February 3, 2018 Posted February 3, 2018 Hello forumers I have a small issue with an export on a network path. Generally the path is alive, but very rarely it can happen that is not reachable. When not reachable, you'll get the error message from FileMaker that file can not be created .... (error code = 800). Since this dialog box can not be suppressed by Error Capture =On, the script will stop there until someone goes and clicks on the OK button of the message. Was wondering, is there a way to check if the path is reachable, and if it is not reachable then to exit script? Thank you, Toni
OlgerDiekstra Posted February 4, 2018 Posted February 4, 2018 You can do this with the Base Elements plugin. The BE_FileExist function can also check for a folder.
Toni Posted February 4, 2018 Author Posted February 4, 2018 Thanks Olger Never used plugins, time to explore this one. Will let you know
Toni Posted February 5, 2018 Author Posted February 5, 2018 I struggled a bit with the path of BE_FileExist. Thought the path was to be inserted as FileMaker likes it (filewin:/C:/blabla), instead one can insert the path as in Windows (C:\blabla). Very cool option, it works after some testings I did. Thank you once more.
Recommended Posts
This topic is 2755 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