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.
Returns the ID of the field that represents the titleField1 property of the table.
Syntax
public FieldId titleField1([boolean includeBaseTables, boolean extendedFieldId])
Run On
Called
Parameters
- includeBaseTables
Type: boolean
- extendedFieldId
Type: boolean
Return Value
Type: FieldId Extended Data Type
The ID of the field that represents the titleField1 property of the table.
Remarks
According to best practice guidelines, the titleField1 property represents the key field for the records in the table.
Examples
The following example shows the retrieval of the ID of the field that is used for the titleField1 property of the table.
DictTable dt;
DictField df;
dt = new DictTable(tablenum(CustTable));
if (dt)
{
df = new DictField(tablenum(CustTable),dt.titleField1());
if (df)
{
print df.name();
}
}
pause;