Product and version FileMaker Pro 15.0.1 x64
OS and version Windows 7 Professional
Hardware HP Z440 Workstation (and others)
I am using the Export Field Contents step in a script to save the file stored in a container field to a network directory. The script works fine normally unless a file is currently open when it attempts to overwrite it. If you attempt this using only a single step button, a dialog box appears to alert you that the file could not be created on the disk. However, when this step is part of a longer script, the error is completely hidden from the user. It does not matter whether Set Error Capture is turned on or off. Get ( LastError ) always returns a 0 even when the file fails to get saved. There is no indication I can find to let the user know that the file did not get saved, which leads to the latest files not being posted on the network.
I am able to use the BaseElements extension to properly display errors, but this should be handled by the built-in FileMaker function.