FieldSpec Constructor | |
Construct a field specification.
Namespace:
VO
Assembly:
VOSystemClasses (in VOSystemClasses.dll) Version: 2.21
Syntax CONSTRUCTOR(
oHLName,
uType,
uLength,
uDecimals
) CLIPPER
[ClipperCallingConventionAttribute(new string[] { ... })]
public FieldSpec(
Usual oHLName = default,
Usual uType = default,
Usual uLength = default,
Usual uDecimals = default
)
Request Example
View SourceParameters
- oHLName (Optional)
- Type: Usual
The hyperlabel that contains the field name and other attributes (i.e., caption, description, and help context) to be used to create the new field specification. - uType (Optional)
- Type: Usual
The data type of the new field specification. 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). - uLength (Optional)
- Type: Usual
The length of the field. This argument is required for numeric and string data types, but is optional for all others. - uDecimals (Optional)
- Type: Usual
The number of decimals in the field. This argument is used for numeric data types only. The default is 0.
See Also