This documentation is archived and is not being maintained.
DictTable.hasRecidIdx Method [AX 2012]
Returns a value that indicates whether a record ID index for the table is in effect.
public boolean hasRecidIdx()
Run On Called
Return Value Type:
boolean
true if a record ID index is in effect for the table; otherwise, false .
The return value corresponds to whether the CreateRecIdIndex property of the table is set to Yes .
The following example shows the retrieval of a value that indicates whether the record ID index of the table is in effect.
DictTable dt;
dt = new DictTable(tablenum(CustTable));
if (dt)
{
print (strfmt("A record ID index for the table %1 in effect.",
dt.hasRecidIdx() ? "is" : "is not") );
}