Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxSchedulerDBStorage.GenerateGUIDForID Property

Specifies whether the user event‘s ID should be generated as GUID.

#Declaration

Delphi
property GenerateGUIDForID: Boolean read; write; default False;

#Property Value

Type Default
Boolean False

#Remarks

Set the GenerateGUIDForID property to True to make the storage manager automatically generate the unique identifiers of user events (see the TcxSchedulerEvent.ID property) as GUID, thus ensuring that the unique identifier of each new record will be created in the proper manner. The type of the ID field in the underlying dataset should be defined as TGuidField or TStringField with a length of 38 characters. If the responsibility of generating the unique number should be implemented by the underlying DBMS or by the developer, then set the GenerateGUIDForID property to False.

Note

The type of the ID field should be the same as the ParentID field’s type.

The default value of the GenerateGUIDForID property is False.

See Also