Click or drag to resize

FieldSpec Constructor (String, Usual, DWord, DWord)

X#
Construct a field specification.

Namespace:  XSharp.VO.SDK
Assembly:  XSharp.VOSystemClasses (in XSharp.VOSystemClasses.dll) Version: 2.19
Syntax
 CONSTRUCTOR(
	oHLName AS STRING,
	 uType AS USUAL,
	 uLength AS DWORD,
	 uDecimals AS DWORD
)
Request Example View Source

Parameters

oHLName
Type: String
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
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
Type: DWord
The length of the field. This argument is required for numeric and string data types, but is optional for all others.
uDecimals
Type: DWord
The number of decimals in the field. This argument is used for numeric data types only. The default is 0.
See Also