VirtualDAC

TDataSetLinks.Add Method

Adds a new TDataSetLink instance to the collection.

Class

TDataSetLinks

Syntax

function Add: TDataSetLink; overload;

Return Value
A instance which has been added.

Remarks

Fill the TDataSetLink.DataSet property of the returned TDataSetLink instance to link a TDataSet descendant as a data source for querying data in TVirtualQuery. Fill TDataSetLink.SchemaName and TDataSetLink.TableName properties to identify the source dataset in a SQL statement. Combination of schema name and table name must be unique for each linked dataset. Also, a source dataset can be linked using the Add method.

See Also

© 1997-2024 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback