DictTable.Hasrecididx Method

Definition

Returns a value that indicates whether a record ID index for the table is in effect.

public:
 virtual bool Hasrecididx();
public virtual bool Hasrecididx ();
abstract member Hasrecididx : unit -> bool
override this.Hasrecididx : unit -> bool
Public Overridable Function Hasrecididx () As Boolean

Returns

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.

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

Applies to