14 Replies Latest reply on Apr 16, 2012 1:11 PM by philmodjunk

    FM 12 Global variables inconsistent value in layout

    jjackson+fm@pobox.com

      Summary

      FM 12 Global variables inconsistent value in layout

      Product

      FileMaker Pro

      Version

      12 Advanced

      Operating system version

      OS X 10.6.8

      Description of the issue

      A database converted from v11 to v12 broke when the global variable stopped working properly.
      It appears it has different values in different parts of the layout: it's correct in header, correct in the non-current records, and wrong in the current record and footer!

      Steps to reproduce the problem

      Put a global variable in the header, current record, and footer. Change the variable depending on the state of the current record, by running a script every time a background object in the current row is clicked.

      Expected result

      In the FM 11 version, the state of the current record is communicated by the global variable correctly as the current record content changes.

      Actual result

      The variable in the header and non-current record changes correctly, but not the current record or the footer. So, the text in the button never gets updated correctly.

      Exact text of any error message(s) that appear

      In the screenshot, the FM11 version is in the background on the left; the FM12 version is on the right.

      Workaround

      None so far.

      global_variable.png