GetIndexInfoByID( ) method
- Last Updated: January 18, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
Returns information about a temp-table index when the ID is specified. The ID is a numeric value that identifies the index. If the ID is valid for an existing temp-table index, this returns TRUE. Otherwise, it returns FALSE. This property is read-only.
Return type: LOGICAL
Access: PUBLIC STATIC
Applies to: Progress.Database.TempTableInfo class
Syntax
This method supports two overloaded versions. The first version returns the index name and name of the procedure or class that instantiated the temp-table.
|
The second version returns the index-name, the handle to the temp-table for that index, and the name of the procedure or class that instantiated the temp-table.
|
- index-id
- An integer expression which evaluates the ID of the temp-table index.
- index-name
- Returns the name of the index specified by the index ID. The
format is
tablename.indexname. For example:ttCustomer.custnum. - table-handle
- Returns a HANDLE to the temp-table specified by the index ID.
- proc-name
- Returns the name of the procedure or class where the temp-table
was created. For a static temp-table, the procedure is used with
the
DEFINE TEMP-TABLEstatement. For a dynamic temp-table, it is the procedure that executes theTEMP-TABLE-PREPARE()method. The name of the procedure is the name that is specified when you runmydir/test.p.