2 Replies Latest reply on Jan 18, 2011 4:59 PM by trizko

    "Insert File" script step w/o specifying file, does not bring up dialog

    trizko

      Title

      "Insert File" script step w/o specifying file, does not bring up dialog

      Post

      Hello,

      I am using FMP Advanced 10, and I am trying to make a button to insert PDF files into a container field. I want my users to be able to choose what file they would like to insert. I have consulted to the FMP Help reference and it says:

      "If you do not specify a file to insert, FileMaker Pro displays a dialog box  where the user can select a file."

      But it does not bring up a dialog when I run the script.

      I tried two different ways of writing the script:

      -----------------------------------------------------------

      1.

      Go to Field[table::field]

      Insert File[]

      2.

      Insert File[table::field]

      -----------------------------------------------------------

      And yes I made sure the file is a "container" field.

      What am I doing wrong?