# EsbVerifyFilter

Description

EsbVerifyFilter() verifies the syntax of a series of filter row strings against a specified database.

Syntax

    EsbVerifyFilter (hCtx, AppName, DbName)

    ByVal hCtx    As Long
    ByVal AppName As String
    ByVal DbName  As String

Parameters

hCtx | Essbase VB API context handle.
AppName | Application name.
DbName | Database name.

Return Value

None.

Notes

- This call must be followed by successive calls to EsbVerifyFilterRow() to verify all the rows for the filter.

Access

This function requires the caller to have Database Design privilege (ESB_PRIV_DBDESIGN) for the specified database.

Example

    Declare Function EsbVerifyFilter Lib "ESBAPIW" (ByVal hCtx As Long, ByVal AppName As String, ByVal DbName As String) As LongSub ESB_VerifyFilter ()
       Dim sts As Long
       Dim AppName As String
       Dim DbName As String
       Dim Row As String AppName = "Sample"
       DbName = "Basic"
       '***************
       ' Verify Filter
       '***************
       sts = EsbVerifyFilter(hCtx, AppName, DbName) ' Initialize Filter Row
       Row = "@IDESCENDANTS(Scenario)"
       sts = EsbVerifyFilterRow(hCtx, Row) ' Initialize Filter Row
       Row = "@IDESCENDANTS(Product)"
       sts = EsbVerifyFilterRow(hCtx, Row) sts = EsbVerifyFilterRow(hCtx,
             ByVal 0&)
    End Sub

See Also

EsbGetFilter()
EsbVerifyFilterRow()