Parameter datatypes

Previous Next

The following datatypes are supported for method parameters:

String

Boolean

Date

Double

Long Integer

Variable

Use Long Integer for integer numeric values. Use Double for non-integer numeric values.

Use Variable only in combination with the InList parameter mode.

The following rules are applied for boolean values used by components:

Numeric input values other than 0 are converted to boolean True.

0 input value is converted to boolean False.

'N' input value is converted to boolean False.

'Y' input value is converted to boolean True.

For any other input value an error message is generated.

If you use COM, the parameters that can have a NULL value must be defined as VARIANT in the source code. This is, for example, the case with the parameters of the QueryExe method of a table component.

 

See also

Parameters