Skip to main content

TcxCustomSchedulerStorage.UseActualTimeRange Property

Specifies whether user events are retrieved based upon their time period bounds from the underlying data store.

Declaration

property UseActualTimeRange: Boolean read; write; default False;

Property Value

Type Default
Boolean False

Remarks

Along with other information on the scheduled user event, time period bounds are persisted in a data store (see the TcxSchedulerEvent.ActualStart, TcxSchedulerEvent.ActualFinish, TcxSchedulerDBStorageFieldNames.ActualStart and TcxSchedulerDBStorageFieldNames.ActualFinish properties) since ExpressScheduler 2 was released.

Depending upon whether the user event is regular or recurring the time period has two meanings:

Set the UseActualTimeRange property to True to use time period bounds when querying the data store. It can improve performance.

Note

if the UseActualTimeRange property is set to True, then user events, which have no time period bounds (legacy user events that were scheduled prior to the ExpressScheduler 2 release), won’t appear in the scheduling area. To avoid this use the CalculateEventActualTimeRanges method to populate the ActualStart and ActualFinish fields (see the TcxSchedulerDBStorageFieldNames.ActualStart and TcxSchedulerDBStorageFieldNames.ActualFinish properties) in the underlying data store with appropriate values.

The default value of the UseActualTimeRange property is False.

See Also