CloseQuery 

Syntax

object.CloseQuery  bWithCancel

bWithCancel     A value defining if the save confirmation window will be shown with an extra“Cancel”  button or not (0 or 1).

Description

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.

Remarks

CloseQuery method returns True if the query was closed successfully, otherwise it returns False.

Example

For Sample of CloseQuery usage see Sub itmFileCloseQuery_Click() of the frmELS_QB in ELS_QBDemoVB project.