Class tfieldlink
Unit
Declaration
type tfieldlink = class(tmsecomponent, idbeditinfo)
Description
tfieldlink updates a field value (typically to initialize it on insert) in onupdatedata; ttimestampfieldlink is a descendant that sets a field to the current timestamp before post. See also tfieldfieldlink, to update a field from the value of a field in another dataset (e.g. to copy a master key into a new detail record), and tfieldparamlink (unit msesqldb), to feed a field value into a query parameter of another dataset — useful for a server-side lookup, or for master/detail filtering.
Hierarchy
- TObject
- tpersistent
- tcomponent
- tmsecomponent
- tfieldlink
Overview
Methods
| Protected | procedure updatedata(const afield: tfield); virtual; |
| Public | constructor create(aowner: tcomponent); override; |
| Public | destructor destroy; override; |
| Public | function field: tfield; |
Properties
| Public | property enabled: boolean read getenabled write setenabled; |
| Published | property destdataset: tdataset read getdestdataset write setdestdataset; |
| Published | property destdatafield: string read getdestdatafield write setdestdatafield; |
| Published | property options: fieldlinkoptionsty read foptions write foptions default []; |
| Published | property onupdatedata: fieldeventty read fonupdatedata write fonupdatedata; |
Description
Methods
| Protected | procedure updatedata(const afield: tfield); virtual; |
|
This item has no description. | |
| Public | constructor create(aowner: tcomponent); override; |
|
This item has no description. | |
| Public | destructor destroy; override; |
|
This item has no description. | |
| Public | function field: tfield; |
|
This item has no description. | |
Properties
| Public | property enabled: boolean read getenabled write setenabled; |
|
This item has no description. | |
| Published | property destdataset: tdataset read getdestdataset write setdestdataset; |
|
This item has no description. | |
| Published | property destdatafield: string read getdestdatafield write setdestdatafield; |
|
This item has no description. | |
| Published | property options: fieldlinkoptionsty read foptions write foptions default []; |
|
This item has no description. | |
| Published | property onupdatedata: fieldeventty read fonupdatedata write fonupdatedata; |
|
This item has no description. | |
Generated by PasDoc 1.0.4.