Sign in Join
FPDoc Onlineexperiment

TMasterParamsDataLink.CopyParamsFromMaster procedure

Member of TMasterParamsDataLinkpublicIn unit DB

Copy parameter values from master dataset.

Declaration

pascal
procedure CopyParamsFromMaster(CopyBound: Boolean); virtual

Arguments

CopyBound

Should Bound parameters also get a new value ?

Description

CopyParamsFromMaster calls CopyParamValuesFromDataset, passing it the master dataset: it provides the parameters of the detail dataset with their new values. If CopyBound is false, then only parameters with their Bound property set to False are copied. If it is True then the value is set for all parameters.

Errors

If the master dataset does not have a corresponding field for each parameter, then an exception will be raised.

See also

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