2 Replies Latest reply on Nov 29, 2012 2:51 PM by philmodjunk

    GetAsText gives a different file name if container is externally stored

    Crispin

      Summary

      GetAsText gives a different file name if container is externally stored

      Product

      FileMaker Pro

      Version

      12.04

      Operating system version

      OSX 10.8.1

      Description of the issue

      External storage broke my script!
      I would expect to just be able to turn external storage on and everything to run as before. However it seems GetAsText(SomeContainerField) which I use to get the file name of the FMP12 file stored in a container prepends 'remote:' when external storage is set. This broke my solution.
      Why was this done? Surely how the data is stored should be transparent to this function?

      Workaround

      The Substitute function can be used to remove remote: My complaint is really that this was unexpected and unnecessary