Creates a new filter and starts setting its contents.
Syntax
Declare Function EsbCreateFilter Lib "esbapin" ( ByVal hCtx As Long, ByVal AppName As String, ByVal DbName As String, ByVal FltName As String, ByVal isActive As Integer, ByVal pAccess As Integer) As Long
Parameter | Description |
---|---|
hCtx | API context handle |
AppName | Application name |
DbName | Database name |
FilterName | Filter name. See Filter Name Limits. |
Active | Filter active flag. If TRUE, the filter is set active, otherwise it is set inactive. |
Access | The default filter access level |
Notes
If the filter does not already exist, it will be created by this call.
If the filter already exists, an error message is returned.
This call must be followed by successive calls to EsbSetFilterRow() to set all the rows for the filter.
Return Value
None.
Access
This function requires the caller to have Database Manager permission (ESS_PRIV_DBDESIGN) for the specified database.