Try OpenEdge Now
skip to main content
ABL Reference
Handle Attributes and Methods Reference : QUERY-OPEN( ) method
 

QUERY-OPEN( ) method

Opens a query object.
Note: You must perform QUERY-PREPARE on a query object before you perform QUERY-OPEN on it.
Return type: LOGICAL
Applies to: Query object handle

Syntax

QUERY-OPEN ( )
Once you perform QUERY-PREPARE on a query object, you can perform QUERY-OPEN on it multiple times as long as you do not reperform QUERY-PREPARE. Once you reperform QUERY-PREPARE, you must reperform QUERY-OPEN.
Note: The QUERY-PREPARE and QUERY OPEN methods correspond to the OPEN QUERY statement.