Quantcast
Channel: FileMaker Forum > Report an issue
Viewing all articles
Browse latest Browse all 3510

Get(WindowName) in popover ignores context (3 Comments)

$
0
0

Issue report by filemakergarage

Product

FileMaker Pro

Version

13

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

n.a.

Configuration information

n.a.

Workaround

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.

Screenshot


Viewing all articles
Browse latest Browse all 3510

Trending Articles