Progress
Language Reference


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 relative number of the buffer table’s index for which you want information.

NOTE

When the index argument, i, is beyond the number of indices in the table or is otherwise invalid, the UNKNOWN value (?) is returned.

EXAMPLE

The following code snippet 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: “cust-num,1,1,0,cust-num,0" which means that the third index in the customer table is called “cust-num”. It is unique and primary, and is not a word index and it consists of one ascending component, cust-num.


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095