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