PreviousNextIndex

INDEX-INFORMATION( ) method

Returns index information in a comma-separated list for the ith index in the buffer’s table.

The returned comma-separated list consists of the following in the specified order:

Return type: CHARACTER

Applies to: Buffer object handle

Syntax
INDEX-INFORMATION(i) 

i

The following code fragment requests information about the third index in the customer table:

buffCustHdl = BUFFER Customer:HANDLE. 
IndexVar = buffCustHdl:INDEX-INFORMATION(3). 

The returned string would look like: “CustNum,1,1,0,CustNum,0" which means that the third index in the Customer table is called “CustNum”. It is unique and primary, and is not a word index and it consists of one ascending component, CustNum.


OpenEdge Release 10.2B
Copyright © 2009 Progress Software Corporation
PreviousNextIndex