Click or drag to resize

DataServer.SetDataField Method

X#
Assign a DataField object to a specified field in this data server.

Namespace:  VO
Assembly:  VOSystemClasses (in VOSystemClasses.dll) Version: 2.21
Syntax
 VIRTUAL METHOD SetDataField(
	nFieldPosition,
	oDataField
) AS USUAL CLIPPER
Request Example View Source

Parameters

nFieldPosition (Optional)
Type: Usual
The number of the data field.
oDataField (Optional)
Type: Usual
The data field to be assigned.

Return Value

Type: Usual
TRUE if successful; otherwise, FALSE.
Remarks
The data type of the new field must be compatible with the actual database field. This method is normally used only during instantiation of a data server (most often in Init() methods of subclasses). For example, the code generated by the data server editors use this method.
See Also