DBAdapt.TDataSetAdapterMode
Delphi
TDataSetAdapterMode = (amInsert, amEdit, amBrowse, amQuery);
C++
enum DECLSPEC_DENUM TDataSetAdapterMode : unsigned char { amInsert, amEdit, amBrowse, amQuery };
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| enum | public | DBAdapt.pas DBAdapt.hpp |
DBAdapt | DBAdapt |
Description
TDataSetAdapterModes identifies the possible modes of a dataset adapter.
TDataSetAdapterModes is the set of modes available for a dataset adapter. Each mode represents what a user can do using an HTML form built while the dataset adapter is in that mode.
The following table lists the possible modes:
| Mode | Meaning |
|---|---|
|
amInsert |
The current record represents a newly inserted record to be added to the dataset. The end user supplies the values for all fields in the new record. |
|
amEdit |
The current record is an existing dataset record that the user can modify. |
|
amBrowse |
The user can view the data in the dataset but not modify it. |
|
amQuery |
The user is supplying a filter condition to specify a set of database records. Each value that the user enters must be matched by the fields in the resulting dataset. |