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
| Parameter | Description |
|---|---|
hCtx | VB API context handle. |
AppName | Application name. |
DbName | Database name. |
Notes
This call must be followed by successive calls to EsbVerifyFilterRow() to verify all the rows for the filter.
Return Value
None.
Access
This function requires the caller to have Database Design privilege (ESB_PRIV_DBDESIGN) for the specified database.
Example
Declare Function EsbVerifyFilter Lib "ESBAPIN" (ByVal hCtx As Long, ByVal AppName As String, ByVal DbName As String) As Long
Sub 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 SubSee Also