Click or drag to resize

DbServer.SetDataField Method

X#
Assign a DataField object to a specified field.

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

Parameters

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

Return Value

Type: Usual
TRUE if successful; otherwise, FALSE.
Remarks
The new field is verified to be compatible with the actual database field, if one is open. 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 DBServer Editor uses this method.
See Also