Progress
Language Reference
CREATE QUERY Statement
Creates a dynamic query.
SYNTAX
handle
A variable of type HANDLE that represents the handle of the query object.
IN WIDGET-POOL widget-pool-name
An expression of type CHARACTER that evaluates, at run time, to the name of the widget pool that contains the dynamic query.
NOTE: Widget pool names are not case-sensitive. EXAMPLEThe following example creates a dynamic query with a static buffer and a dynamic predicate (WHERE clause) which is resolved at run time.
NOTES
- CREATE-QUERY must be followed by the QUERY-PREPARE( ) and QUERY-OPEN() methods before the query can be run.
- For more information on dynamic queries, see the Progress Programming Handbook .
SEE ALSO
CREATE BUFFER Statement, DEFINE QUERY Statement, QUERY-OPEN( ) Method, QUERY-PREPARE( ) Method,
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |