DataColumn.LinkDF Method | |
Connect a column to a field in a data server.
Namespace:
VO
Assembly:
VOGUIClasses (in VOGUIClasses.dll) Version: 2.21
Syntax VIRTUAL METHOD LinkDF(
oDataServer,
nFieldData
) AS USUAL CLIPPER
[ClipperCallingConventionAttribute(new string[] { ... })]
public virtual Usual LinkDF(
Usual oDataServer = default,
Usual nFieldData = default
)
Request Example
View SourceParameters
- oDataServer (Optional)
- Type: Usual
The server that the column is to be linked to. Ordinarily, this is the common server that the entire window is linked to, but it is possible to link individual columns to other servers. - nFieldData (Optional)
- Type: Usual
The number of the field within the server.
Return Value
Type:
UsualRemarks
DataColumn:LinkDF() should ordinarily not be called directly by the application. It is called by DataBrowser:Use(); Use() connects an entire client to an entire server. You can use DataColumn:LinkDF() to link a column to a data field explicitly, perhaps if the column's name doesn't match the data field's name so the automatic linkage of DataBrowser:Use() doesn't work.
It is even possible to use DataColumn:LinkDF() to link individual columns to different servers; however, this is not recommended, because none of the automatic behavior of the data window and none of its cooperation with the data server applies to more than one server. Notifications will not be received for servers other than the main server that the window is registered with, and actions such as DataWindow:Delete() and DataWindow:Append() apply to the main server. To link a window to more than one database, use the techniques described in the "GUI Classes" chapter of the Programmer's Guide.
See Also