Language Reference Guide : C. Generated User Classes : Query_Control User Class : CloseQuery Method
 
Share this page          
CloseQuery Method
The CloseQuery method closes the query.
This method has the following syntax:
integer = Query_Control.CloseQuery()
This method should be called when closing the frame. If the CloseQuery method is successful, it returns ER_OK; otherwise, it returns ER_FAIL. Descriptions of system constant values and their numeric equivalents are listed in Error Codes