CloseQuery
Syntax:
BOOL CloseQuery(BOOL bWithCancel);
Return
Value: TRUE if the query
was closed successfully, otherwise FALSE.
Parameter:
bWithCancel Boolean
value defining if the save confirmation window will be shown with an extra
“Cancel” button or not.
Remarks:
Call
this method to close the query currently selected in the Databases folder of ELS-QB component’s Connection pane, with an option to save or discard changes
made.
Example:
For Sample of CloseQuery () usage see the
Example of GetSQLText()