PA_CloseQuery

4D - Documentation   Français   English   German   4D Plugin API, Command Theme List   4D Plugin API, Command Alphabetical List   Back   Previous   Next

version 2003


PA_CloseQuery (queryRef)

ParameterTypeDescription
queryRefPA_QueryRefReference of the query to perform

Description

The routine PA_CloseQuery launches the query initiated by PA_OpenQuery and calls to PA_QueryXxx (PA_QueryString, PA_QueryDate). It deallocates any private data used by the API, and automatically sets the query operator of the first line of the search to eQO_NoOperator to avoid unpredictable result.

Example

See Building a query with the API.

See Also

Building a query with the API.

Error Handling

Use PA_GetLastError to see if an error occurred (bad table number in PA_OpenQuery())


4D - Documentation   Français   English   German   4D Plugin API, Command Theme List   4D Plugin API, Command Alphabetical List   Back   Previous   Next