Progress
Language Reference
Temp-table Object Handle
A handle to a temp-table object. A temp-table object corresponds to an underlying Progress temp-table, which can be static or dynamic. An example of a static underlying temp-table is one you define at compile time with the DEFINE TEMP-TABLE statement. An example of a dynamic underlying temp-table is one you create at run time with the new CREATE TEMP-TABLE statement.
SYNTAX
temp-table-handle
An item of type WIDGET-HANDLE representing a handle to a temp-table object.
attribute
An attribute of the temp-table object.
method
A method of the temp-table object.
EXAMPLE
The following code snippet demonstrates the creation, definition and use of a temp-table object.
NOTES:
- The temp-table object has three states, CLEAR, UNPREPARED and PREPARED. The temp-table is in a CLEAR state either when the temp-table is first created or immediately after the CLEAR( ) method is applied. The temp-table is in an UNPREPARED state during the period after the first definitional method has been applied and before the TEMP-TABLE-PREPARE( ) method is applied. The temp-table is in a PREPARED state after the TEMP-TABLE-PREPARE( ) method has been applied.
- The user can discern whether the temp-table is in an UNPREPARED or PREPARED state by using the PREPARED attribute.
SEE ALSO
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |