DictTable.hasRecidIdx Method
Returns a value that indicates whether a record ID index for the table is in effect.
Syntax
public boolean hasRecidIdx()
Run On
Called
Return Value
Type: boolean
true if a record ID index is in effect for the table; otherwise, false.
Remarks
The return value corresponds to whether the CreateRecIdIndex property of the table is set to Yes.
Examples
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") );
}