Syntax: BOOL CloseQuery(BOOL bWithCancel);
Return Value: TRUE if the query was closed successfully, otherwise FALSE.
bWithCancel Boolean value defining if the save confirmation window will be shown with an extra “Cancel” button or not.
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.
For Sample of CloseQuery () usage see theExample of GetSQLText()