Use dynamic queries and query handles
- Last Updated: January 16, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
As with other dynamic objects, you can create a dynamic query with a form of the
CREATE statement. But also, as with other object types, you can
attach a handle variable to a static query and use almost all of its methods and
attributes to manipulate the query at run time.
The syntax for the
CREATE QUERY statement is:
|
There is no ASSIGN option on the CREATE QUERY
statement, primarily because most of the operations you can perform on a dynamic query
are methods, not attributes.
You can also attach a handle variable or field to a static query:
|