RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TGuidField Class

TGuidField represents a guid field in a dataset.

Pascal
TGuidField = class(TStringField);
C++
class TGuidField : public TStringField;

DB

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. 

Maximum/minimum data storage limits? 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!