Args.lookupField Method

Gets or sets the field ID in a table to use to look up a specified record.


public fieldId lookupField([fieldId value])

Called

Parameter

Description

value

The value to set; optional.

The field ID of a field in a table to use to look up a specified record.

The returned value can be used by the called object to look up the specified record returned by the LookupRecord method or the string returned by the LookupValue method.

For example, the field to look up could be set with the following:

Args.lookupField(fieldnum(TableName, FieldName));

Community Additions

ADD
Show: