RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TReferenceField Class

TReferenceField represents a REF field in a dataset.

Pascal
TReferenceField = class(TDataSetField);
C++
class TReferenceField : public TDataSetField;

DB

Reference fields store a pointer or reference to another persistent object. TReferenceField introduces properties for working with references contained in other tables and for working directly with the reference field values. 

If you use the Fields editor at design time to create a persistent field component for the reference field, you can access it by name at runtime. When using dynamic field components, you can access the TReferenceFieldField instance using the dataset's Fields property or FieldByName method. 

 

TDataSEtField 

TDataSEt 

TDataSet

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