GetQueryTitle 

Syntax

object.GetQueryTitle

Description

Call this method to obtain the title of the currently open query in the ELS-QB control.

Remarks

GetQueryTitle method returns String containing the title of the currently open query.

Example

This sample code shows how to use GetQueryTitle  method to inform the user of the title of the ELS-QB Control's currently active query. Query title is a string that has the following format:   "ConnectionName" + " / " + "QueryName"

Private Sub ShowQueryTitle()

Dim sText

sText = ELS_QBCtrl.GetQueryTitle()

frmMDI.stBarMDI.Panels.Item(1).Text = sText

End Sub