version 2003
PA_CloseQuery (queryRef)
Parameter | Type | Description | |
queryRef | PA_QueryRef | Reference 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())