Click or drag to resize

FieldSpec.SetType Method

X#
Set a new data type for this field specification and new hyperlabel diagnostics for the data type check.

Namespace:  VO
Assembly:  VOSystemClasses (in VOSystemClasses.dll) Version: 2.19
Syntax
 VIRTUAL METHOD SetType(
	uType,
	oHL
) AS USUAL CLIPPER
Request Example View Source

Parameters

uType (Optional)
Type: Usual
The new data type. It can be specified either as a one-character string or as a constant (See FieldSpec:ValType and FieldSpec:UsualType for valid strings and constants, respectively). If omitted, the current value is not changed.
oHL (Optional)
Type: Usual
The hyperlabel that contains the new diagnostics for the data type check (caption, description, and help context). If omitted, the current value is not changed.

Return Value

Type: Usual
Remarks
A field specification's data type is typically set during instantiation, and should not normally be changed later.
See Also