ShowQueryFilename 

Syntax

object.ShowQueryFilename  bShow

bShow    A value that specifies the further visibility of the filename display (0 or 1).

Description

Call this method to show / hide the query filename display of the ELS-QB control.

Remarks

ShowQueryFilename method returns True if the operation was successful, otherwise it returns False.

Note: If this method is never called, the query filename is shown by default.

Example

This sample code shows how to allow the end user to toggle  filename displayfield of ELS-QB control.

gbShowQueryFileName = True

' Some command handler

Private Sub itmCmdToggleFNDisplay_Click()

    If ELS_QBCtrl.ShowQueryFilename(Not gbShowQueryFileName) Then

    gbShowQueryFileName = Not gbShowQueryFileName

    End If

End Sub