GetQuery method: Session class

Syntax

GetQuery()

Description

The GetQuery method returns an empty query object. After you have an empty query object, you can use it to open an existing query (using the Open method) or to create a new query definition (using the Create method).

Parameters

None.

Returns

A reference to an empty query object if successful, NULL otherwise.

Example

&MyQuery = &MySession.GetQuery();

If &MyQuery.Open("PHONELIST") Then