3 Replies Latest reply on Oct 21, 2015 1:33 PM by user23987

    FileMaker Go 14.0.3 Global Variables

    user23987

      Product and version FileMaker Go 14.0.3

      OS and version iOS 9.0.2

      Description Global Variables do not seem to work correctly

      How to replicate

      1. Set up a layout which has an 'on enter' script

      2. In the script, set a global variable then test for the global variable value, display a message if the global variable value is as set.

      3. The if statement fails

      4. The script works correctly on Desktop (FileMaker Pro)

       

      Workaround Do not use Global Variables, downgrade to Go 14.0.2

        • 1. Re: FileMaker Go 14.0.3 Global Variables
          Benjamin Fehr

          did you try:

          2. In the script, set a global variable

          => add a script step 'Commit' AND/OR 'Refresh'

          then test for the global variable value, display a message if the global variable value is as set.

          ?

          • 2. Re: FileMaker Go 14.0.3 Global Variables
            TSGal

            user23987:

             

            Thank you for your post.

             

            I am unable to replicate the issue.  This is what I have done:

             

            1. I created a database file with one text field "Name".

             

            2. I added one record and entered the value "TSGal" in the Name field.

             

            3. I created a script "TEST" with the following script steps:

              Set Variable [ $$global ; Value: "TSGal" ]

              If [ Table::Name = $$global ]

                 Show Custom Dialog [ "Name Exists" ; "Name Exists" ]

              End If

             

            4. In Layout mode, I selected the Name field, pulled down the Format menu and selected "Set Script Triggers...".

             

            5. I checked the OnObjectEnter event and selected the script "TEST"

             

            6. I returned to Browse mode, put my cursor in the field, and the Show Custom Dialog box appeared.

             

            7. I closed the file, and moved the file to an iPad via iTunes.

             

            8. I launched FileMaker Go 14.0.3, opened the file, put my cursor in the Name field, and the Show Custom Dialog box appeared.

             

            Let me know what I'm doing differently than you so I can replicate the issue.

             

            TSGal

            FileMaker, Inc.

            • 3. Re: FileMaker Go 14.0.3 Global Variables
              user23987

              Thanks for checking this out TSGal,

               

              I will take a look tomorrow, as well as looking at the original solution wherein I found the problem. I'll ensure I can reliably replicate the problem and I'll send the solution over.

               

              Kind Regards

              Greig