vcl-cxschedulerdbstorage-dot-tcxschedulerdbstoragefieldnames-01e6bee3.md
Maps all user event state properties to the dataset field where the corresponding bitwise flags are stored.
property Options: TcxFieldName index 6 read; write;
| Type | Description |
|---|---|
| TcxFieldName |
The name of the dataset field that stores all event states as bitwise flags within integer values.
|
Use the Options property to bind the following state properties of user events to an integer dataset field to store them as bitwise flags within integer values:
AllDayEventSpecifies whether the user event is an all-day event (an event that lasts at least 24 hours or longer).EnabledThis property is used as a custom property.IsGroupSpecifies the task as a task group in the Gantt View.ReminderSpecifies whether the reminder is on or off.ExpandedSpecifies whether the predecessor task is expanded.
Every integer value stored in the bound dataset field stores values of all listed properties as bitwise flags.
cxSchedulerDBStorage1.FieldNames.Options := mdEventOptions.FieldName;
cxSchedulerDBStorage1->FieldNames->Options = mdEventOptions->FieldName;
Note
You need to bind the Options property to the corresponding dataset field to be able to store user events in a data-aware scheduler storage component. The bound dataset field must meet the following requirements:
NULL value is allowed for the field if a user event’s EventType property is set to etCustom.The Options property’s default value is an empty string.
See Also
Applying The Recurrence Pattern
TcxSchedulerDBStorageFieldNames Class