Progress
Language Reference


Query Object Handle

Interfaces
OS
SpeedScript
All
All
Yes

A handle to a query object. A query object corresponds to an underlying Progress query, which can be static or dynamic. An example of a static underlying query is one you define at compile time with the DEFINE QUERY statement. An example of a dynamic underlying query is one you create at run time with the new CREATE QUERY statement.

SYNTAX

query-handle [ :attribute | :method ] 

query-handle

An item of type WIDGET-HANDLE representing a handle to a query object.

attribute

An attribute of the query object.

Attribute
Type
Readable
Setable
CHARACTER
INTEGER
INTEGER
WIDGET-HANDLE
CHARACTER
LOGICAL
CHARACTER
INTEGER
INTEGER
CHARACTER
CHARACTER
LOGICAL
LOGICAL
CHARACTER
INTEGER

method

A method of the query object.

Method
Return Type
Description
LOGICAL
Adds a buffer to a query object without affecting the other buffers, if any.
LOGICAL
Creates an entry in the result list for the current row.
LOGICAL
Deletes the current row of a dynamic query’s result list.
HANDLE
Returns the handle of a particular buffer of a query object.
LOGICAL
Refetches the current record or records associated with the query.
LOGICAL
Moves a query object’s result list pointer to the first row.
LOGICAL
Moves a query object’s result list pointer to the last row.
LOGICAL
Moves a query object’s result list pointer ahead one row.
LOGICAL
Moves a query object’s result list pointer back one row.
LOGICAL
Binds buffers to a query object.
LOGICAL
Closes a query object.
LOGICAL
Opens a query object.
LOGICAL
Compiles a predicate (query condition).
LOGICAL
Moves a query object’s result list pointer back a particular number of rows.
LOGICAL
Moves a query object’s result list pointer forward a particular number of rows.
LOGICAL
Moves a query object’s result list pointer to a particular row.
LOGICAL
Moves a query object’s result list pointer to a particular row.

EXAMPLE

For a code example that uses the query object, see the Progress Programming Handbook .

NOTE

For more information on the query object, see the Progress Programming Handbook .

SEE ALSO

Buffer Object Handle, Buffer-field Object Handle


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095