Skip to main content

TcxSchedulerDBStorage.CheckRequiredFields Method

Checks if all the obligatory properties of persisted user events are mapped to the corresponding fields of the underlying dataset.

Declaration

function CheckRequiredFields: Boolean; override;

Returns

Type
Boolean

Remarks

This function returns True if all mandatory properties of persisted user events are mapped to the corresponding fields of the connected and open dataset via the FieldNames property set; otherwise – False.

The CheckRequiredFields function raises an exception listing all the missing mandatory fields in the underlying dataset if the check is unsuccessful. Refer to the FieldNames property and TcxSchedulerDBStorageFieldNames class descriptions for the lists of fields for storing mandatory and optional user event properties.

See Also