Click or drag to resize

DbServer.SetDataField Method

Assign a DataField object to a specified field.

Namespace:  VO
Assembly:  VORDDClasses (in VORDDClasses.dll) Version: 2.5
Syntax
 VIRTUAL METHOD SetDataField(
	nFieldPosition AS USUAL,
	oDataField AS USUAL
) AS USUAL

Parameters

nFieldPosition
Type: Usual
The number of the desired field.
oDataField
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