AnsweredAssumed Answered

Get(WindowName) in popover ignores context

Question asked by nilsw on Feb 5, 2014
Latest reply on May 12, 2015 by TSGal


Get(WindowName) in popover ignores context


FileMaker Pro



Operating system version

Mac OS X 10.8.5

Description of the issue

Normally a calculation field that returns Get(WindowName) evaluates in the window it is displayed in. If you place the field inside a popover element in a database file other than the one where the actual table is located, the calculation evaluates to the window name of the data file.

Steps to reproduce the problem

Make a data file 'file1.fmp12' with a table 'table1' an unstored calculation field 'window_name' of type text that returns the function 'Get(WindowName)' (without the quotes). Make another file 'interface.fmp12', add a file reference to the data file, add a table occurrence of 'table1' and a layout based on that table occurrence. In this layout you place an instance of the field 'window_name', add a popover element and place another instance of the field inside.

Expected result

both instances of the field evaluate to the same result.

Actual result

the field inside the popover shows the window name of the data file.

Exact text of any error message(s) that appear


Configuration information



In our case where we use the window name as an environment parameter to display two different records of the same table in separate windows (and a bit more complicated stuff ;), we are now loading the desired value into a global variable on object enter by trigger.