Sign in Join
FPDoc Onlineexperiment

TMasterParamsDataLink class

In unit DB

Class to establish a master-detail relationship between dataset, based on parameters.

Declaration

pascal
TMasterParamsDataLink = class(TMasterDataLink)

Inheritance

  1. TMasterParamsDataLink
  2. TMasterDataLink
  3. TDetailDataLink
  4. TDataLink
  5. TPersistent
  6. TObject

Description

TMasterParamsDataLink is a TDataLink descendent that can be used to establish a master-detail relationship between 2 TDataset instances where the detail dataset is parameterized using a TParams instance. It takes care of closing and opening the detail dataset and copying the parameter values from the master dataset whenever the data in the master dataset changes.

See also

Properties

ParamspublicParameters of detail dataset.

Methods

DoMasterDisableprotected
DoMasterChangeprotected
CreatepublicInitialize a new TMasterParamsDataLink instance.
RefreshParamNamespublicRefresh the list of parameter names.
CopyParamsFromMasterpublicCopy parameter values from master dataset.

Inherited

From TMasterDataLink (10)

ActiveChanged CheckBrowseMode Destroy FieldNames Fields GetDetailDataSet LayoutChanged OnMasterChange OnMasterDisable RecordChanged

From TDetailDataLink (1)

DetailDataSet

From TDataLink (31)

Active ActiveRecord BOF BufferCount DataEvent DataSet DataSetChanged DataSetScrolled DataSource DataSourceFixed Edit Editing EditingChanged Eof ExecuteAction FirstRecord FocusControl GetActiveRecord GetBOF GetBufferCount GetEOF GetRecordCount MoveBy ReadOnly RecordCount SetActiveRecord SetBufferCount UpdateAction UpdateData UpdateRecord VisualControl

From TPersistent (8)

Assign AssignTo DefineProperties FPOAttachObserver FPODetachObserver FPONotifyObservers GetNamePath GetOwner

From TObject (40)

AfterConstruction BeforeDestruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName SafeCallException StringMessageTable SystemHasExtendedRTTI ToString UnitName

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.