DataEngine.GetValuesForParameter

Prompts the user for the value of a stored procedure parameter.

public Values GetValuesForParameter(string Caption,
	string DataType,
	int Length,
	int Decimals,
	string Operator,
	Values Values);

Return Value

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.

Parameters

Caption
The caption to display to the user.

DataType
The data type for the value. See the Field Object topic for a list of valid data type values.

Length
The maximum size of the value.

Decimals
The number of decimal places.

Operator
The operator to use; one of the following: equals not equals begins with not begins with contains not contains greater than greater than or equal less than less than or equal between not between is one of is not one of is known is unknown is blank is not blank.

Values
A collection of values used as the default values for the dialog.

Overloads:


See also:

Class DataEngine

© Stonefield Software Inc., 2024 • Updated: 06/06/16
Comment or report problem with topic