xArgs.lookupField Method

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

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));

See Also

Reference

xArgs Class