Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets the field ID in a table to use to look up a specified record.
Syntax
public FieldId lookupField([FieldId value])
Run On
Called
Parameters
- value
Type: FieldId Extended Data Type
The value to set; optional.
Return Value
Type: FieldId Extended Data Type
The field ID of a field in a table to use to look up a specified record.
Remarks
The returned value can be used by the called object to look up the specified record in the LookupRecord method or the string specified in the LookupValue method.
For example, the field to look up could be set with the following:
xArgs.lookupField(fieldnum(TableName, FieldName));