1 Reply Latest reply on Nov 14, 2016 3:42 PM by philmodjunk

    attach to container

    cortiel

      I am very new to FM

      I am trying to let the user attach a file from a folder to a field in a table (not as reference so I can copy the fm12 database to another machine)

       

      then have a button to actually open the file .

       

      i can't find script to handle that.

       

      Thanks

       

      Peter

        • 1. Re: attach to container
          philmodjunk

          Insert file can be used to insert the file and the options it comes with can be configured to open a file for the user to to use to select and insert a file into the container field. A similar step, insert picture, can be used to insert an image file if you want to see the image in the container field and not just a file icon.

           

          To open such an inserted file that was not inserted by reference, you'd need to use export field contents to export and open a copy of the file using the OS's default application for that particular file type.