TField.DefaultExpression¶
Default value for the field.
Declaration¶
Source position: db.pas line 476
published property DefaultExpression: string;
Description¶
DefaultValue can be set to a value that should be entered in the field whenever the TDataset.Append or TDataset.Insert methods are executed. It should contain a valid SQL expression that results in the correct type for the field.
This feature is not yet implemented in FPC.
See also¶
| Name | Description |
|---|---|
| TDataset.Insert | Insert a new record at the current position. |
| TDataset.Append | Append a new record to the data. |
| TDataset.CustomConstraint |