[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Check if a dataset is linked to a certain dataset
Source position: db.pas line 1509
public function TDataSource.IsLinkedTo( |
ADataSet: TDataSet |
):Boolean; |
ADataSet |
|
Dataset to check |
True if the datasource is linked to ADataset
IsLinkedTo checks if it is somehow linked to ADataset: it checks the Dataset property, and returns True if it is the same. If not, it continues by checking any detail dataset fields that the dataset posesses (recursively). This function can be used to detect circular links in e.g. master-detail relationships.
|
Dataset this datasource is connected to |
lazarus-ccr.sourceforge.net |