|Stonefield Query SDK|
GetValuesForField(FieldName as String, Operator as String [, Values as Collection]) as Object
The name of the field (aliased with the table name) to get the value for.
The operator to use; one of the following:
A collection of values used as the default values for the dialog. Use the GetValuesCollection method to create the collection and its AddItem method to add the default values. Supply two values for the between and not between operators, up to ten values for the is one of and is not one of operators, and only one value for the rest of the operators. This parameter is optional; if it isn't specified, blank values are used as defaults.
A collection of value objects. A value object has a single property, Value, which contains the value the user entered for the field value. If the user chooses Cancel rather than entering a value, the collection Count property is 0. Otherwise, the collection contains two members for the between and not between operators, up to ten members for the is one of and is not one of operators, and one member for the others.
See Select for example code.
|Last Updated: 06/08/10|