Description
This method will set the string value of the Data property of McDBNodes returned by this McDBQuery. The Data property may be either a string or an object; this method allows query on the value of those objects with Data properties that are stored as strings. It also allows determination of which objects have Data properties stored as strings (versus objects).
-
Return Type
-
None
-
Syntax
-
object.SetDataString value, [CompOp]
The SetDataString Method syntax has these parts: |
| object | An expression evaluating to an object of type McDBQuery. | | value | Required. A Variant value. The value to place in the query. This parameter is a Variant, and if it encapsulates a string, specifies the string value of the Data property to place in the query.
| | CompOp | Optional. A mcDBCompOp enumeration, as described in settings. How the McDBNodes returned by this McDBQuery will compare to Value
| Settings The settings for CompOp are:
 | mcdbEQ | 1 |
Equality (default)
|
 | mcdbLT | 2 |
Less than
|
 | mcdbGT | 4 |
Greater than
|
 | mcdbGTE | 5 |
Greater than or Equal
|
 | mcdbLTE | 3 |
Less than or Equal
|
 | mcdbNEQ | 6 |
Not Equal
|
 | mcdbIgnoreWildCards | 16 |
Wildcards in strings (* and ?) are interpreted as literals
|
 | mcdbIgnoreCase | 32 |
Case of characters in strings is ignored
|
 | mcdbIgnoreDiacritics | 64 |
Diacritics on characters in strings is ignored
|
 | mcdbIgnoreWhiteSpace | 128 |
White space in strings is ignored
|
 | mcdbIgnoreSymbols | 512 |
Symbols in strings are ignored
|
 | mcdbMatchSubstring | 1024 |
The query string matches if it is a substring of the target property/attribute
|
 | mcdbNoAttribute | 2048 |
The Named Attribute does not exist, only valid when using Empty wildcard
|
Remarks
An Empty variant will indicate to query for those McDBNode instances that have no Data value assigned.
Exceptions
|