Click or drag to resize

VoDb.SetFilter Method

X#
Set a filter condition.

Namespace:  XSharp
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.21
Syntax
 STATIC METHOD SetFilter(
	oBlock AS USUAL,
	cFilter AS STRING
) AS LOGIC
Request Example View Source

Parameters

oBlock
Type: Usual
Codeblock that defines the filter. Please note that some RDDs (such as Advangate) will NOT use this compiled codeblock.
cFilter
Type: String
String version of the filter. Some RDDs (such as Advantage) use this condition instead of the codeblock

Return Value

Type: Logic
TRUE if successful; otherwise, FALSE.
Remarks
Tip Tip
The difference between VoDb.SetFilter and CoreDb.SetFilter is that VoDb.SetFilter takes a USUAL parameter
See Also