1 Reply Latest reply on Jul 25, 2012 11:26 AM by philmodjunk

    export field contents does not return error

    PeterWagemans

      Summary

      export field contents does not return error

      Product

      FileMaker Pro

      Version

      12.0v2

      Operating system version

      Mac & Windows

      Description of the issue

      FileMaker 12.0v2. I just wrote a script that exports a file in a container field to the desktop. Trying to trap a possible error I locked the file on the desktop and the script step does not replace the file, but also does not raise an error code.

      Steps to reproduce the problem

      Use the Export field contents script step with a container.
      Lock the file that has been exported. Export again.

      Expected result

      Get ( LastError ) <> 0

      Actual result

      Get ( LastError ) = 0