Specifies the actions to take on fields data at the time of opening or closing TVirtualTable dataset.
Unit
VirtualTable
Syntax
TVirtualTableOption = (voPersistentData, voStored, voSetEmptyStrToNull, voSkipUnSupportedFieldTypes, voResetAutoInc, voAssignReadOnly, voAssignRequired);
Values
| Value | Meaning |
|
voAssignReadOnly |
When the Assign or AssignDataSet methods are called, the ReadOnly property of the fields in the source dataset is copied to the corresponding fields in TVirtualTable. |
|
voAssignRequired |
When the Assign or AssignDataSet methods are called, the Required property of the fields in the source dataset is copied to the corresponding fields in TVirtualTable. |
|
voPersistentData |
Dataset will not dispose of its data at the time of dataset closing. |
|
voResetAutoInc |
When the Clear method is called, the initial values of the AutoInc fields are reset. |
|
voSetEmptyStrToNull |
During data editing, empty values in string fields are treated as NULL. |
|
voSkipUnSupportedFieldTypes |
When calling the Assign or AssignDataSet methods, source fields with unsupported data types are omitted. |
|
voStored |
Dataset will keep its data set at design-time in DFM file along with other form's stored properties. |