RAD Studio VCL Reference
|
TDataSetAdapterFieldFlags identifies the role of the database field value that the dataset adapter field represents.
TDataSetAdapterFieldFlag = ( ffInKey, ffInOrigValues );
enum TDataSetAdapterFieldFlag { ffInKey, ffInOrigValues };
TDataSetAdapterFieldFlags is a set of flags that indicate the role of the field that corresponds to a dataset adapter field. Each flag is a TDataSetAdapterFieldFlag value. The following table indicates the possible values:
Value |
Meaning |
ffInKey |
The adapter field represents a field in the current index (key) of the parent adapter's dataset. When ffInKey is included in FieldFlags, the GetKeyName method returns the value of the DataSetField property and the parent adapter includes that name when assembling a list of key fields. |
ffInOrigValues |
The value of the adapter field is included as a hidden field in the HTML form. By including the original value as a hidden field, the adapter field can detect when users change the field value. This flag should be set if the field value is used to identify the current database record (for example, when determining which database record to update). |
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|