Data.DB.TGuidField
Delphi
TGuidField = class(TStringField)
C++
class PASCALIMPLEMENTATION TGuidField : public TStringField
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | Data.DB.pas Data.DB.hpp |
Data.DB | Data.DB |
Description
TGuidField represents a guid field in a dataset.
TGuidField encapsulates the fundamental behavior common to fields storing Globally Unique Identifiers (GUIDs). In addition to the properties, methods, and events common to all fields that are introduced by the TField class, TGuidField introduces the AsGuid property for setting and getting the field's value as a TGUID data type.
If you use the Fields editor at design time to create a persistent field component for the guid field, you can access it by name at runtime. When using dynamic field components, you can access the TGuidField instance using the dataset's Fields property or FieldByName method.