Copy parameter values from master dataset.
Source position: db.pas line 2114
public procedure TMasterParamsDataLink.CopyParamsFromMaster( |
CopyBound: Boolean |
); virtual; |
CopyBound |
|
Should Bound parameters also get a new value ? |
CopyParamsFromMaster calls TParams.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.
If the master dataset does not have a corresponding field for each parameter, then an exception will be raised.
|
Copy parameter values from the fields in a dataset. |
|
|
Is the parameter value bound (set to fixed value). |