1 Reply Latest reply on Nov 7, 2013 8:29 AM by philmodjunk

    Open File Button Based on Pop Up Menu Selection

    Nibbles

      Title

      Open File Button Based on Pop Up Menu Selection

      Post

           Im working on FMPA and later IWP.

            

           I have a few conditional value lists set up about the 3rd in the series is Building. I have a button made to openFile on click, but I want it to open a specific file depending on the selected building.

            

           What is the best/easiest way to accomplish this? Maybe a new table for Building with a container field holding the files? How would I set up the button to search for the currently selected building then display the associated file?

        • 1. Re: Open File Button Based on Pop Up Menu Selection
          philmodjunk

               What kind of file? Open File is a script step for Opening another FIleMaker File but I am guessing you mean a PDF or other non FileMaker file.

               There are several different ways do do what you want depending on the version of FileMaker you are using and what you want to do with the opened file:

               Export Field Contents can export a copy of the file and open it. (haven't tried this in IWP...)

               PDF's can be viewed in a large container field placed on a FileMaker layout. (Requires FileMaker 12 if PDF is more than one page.)

               Open URL can open a file (but not for IWP users).

               A webviewer can open some files and display their contents. (You may find the 3rd party produced "SuperContainer" to be of interest.)