Progress
Language Reference
ADD-LIKE-INDEX( ) Method
This method copies the specified index from the specified source table.
This method cannot be called after TEMP-TABLE-PREPARE( ) has been called unless CLEAR( ) is called first.
Return Type: LOGICAL Applies To: Temp-table Object Handle
index-name-exp
A character expression that evaluates to the name of the index to which the source index is being copied.
source-index-name-exp
A character expression that evaluates to the name of the index in the source table that is being copied to the temp-table.
source-buffer-hndl-exp
A character expression that evaluates to a buffer handle from which to copy the index.
source-db-table-name-exp
A character expression that evaluates to a database table name from which to copy the index.
The following example fragment adds a new index to a temp-table like the name index in the customer table:
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |