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

GetField returns null (4 Comments)

$
0
0

Issue report by PhilModJunk

Product

FileMaker Go

Version

12.0.7

Operating system version

iOS 6.1.3

Description of the issue

GetField returns a null value instead of the value of the TableOccurrence::FieldName text named in the parameter.

Steps to reproduce the problem

Create a script that uses GetField in a script step such as Set Variable, Set Field By Name or Show Custom Dialog.
When the script is executed on FileMaker Pro. The quoted text or text expression used as a parameter to produce a tableoccurrence::FieldName results in the value of that named field being returned. Perform the same script in FM Go and a null value is returned.

Expected result

That the value of the named field is returned--as it does in FM Pro.

Actual result

No value is returned and script step fails to execute correctly as a result.

Workaround

Don't use getField to refer to the contents of a field. Create a very large number of scripts--each with direct references to a different field instead of a single script with an indirect reference to a value passed as a script parameter.

Viewing all articles
Browse latest Browse all 3510

Trending Articles