DataServer.SetDataField Method | |
Assign a DataField object to a specified field in this data server.
Namespace:
VO
Assembly:
VOSystemClasses (in VOSystemClasses.dll) Version: 2.19
Syntax VIRTUAL METHOD SetDataField(
nFieldPosition,
oDataField
) AS USUAL CLIPPER
[ClipperCallingConventionAttribute(new string[] { ... })]
public virtual Usual SetDataField(
Usual nFieldPosition = default,
Usual oDataField = default
)
Request Example
View SourceParameters
- 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