CustomFieldDefs
Previous  Top  Next

See Also Properties Methods Events Example
Unit
MySQLDataset

Applies to
TMySQLDataset TMySQLTable and TMySQLQuery components

Declaration
property    CustomFieldDefsTFieldDefs;

Description
This property performs pure magic by allowing you to add additional fields (in addition to those returned by MySQL), much like Kylix,Delphi's calculated fields. In short, if defined, you will have additional "memory" fields which MySQL knows nothing about, nor does Delphi/Kylix realize that they are not actually connected to a physical table. It goes without saying that these fields' values are only in memory as long as the dataset is open, and the values are not used when sending updates to MySQL. These fields are fully scrollable and updateble (client-side), thus "updateble calculated fields" if you will.