RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Provider.TPutFieldInfo Record

TPutFieldInfo contains information about a field.

Pascal
TPutFieldInfo = record
  FieldNo: Integer;
  Field: TField;
  DataSet: TDataSet;
  Size: Integer;
  IsDetail: Boolean;
  Opened: Boolean;
  PutProc: TPutFieldProc;
  LocalFieldIndex: Integer;
  FieldInfos: Pointer;
end;
C++
struct TPutFieldInfo {
  int FieldNo;
  TField Field;
  TDataSet DataSet;
  int Size;
  Boolean IsDetail;
  Boolean Opened;
  TPutFieldProc PutProc;
  int LocalFieldIndex;
  void * FieldInfos;
};

TPutFieldInfo is a record containing information about a field. TPutFieldInfo is used when adding a new field to a data set. TPutFieldInfo fields are listed in the following table.

Field 
Meaning 
FieldNo  
The position of the field (column) in the underlying database table.  
Field  
The actual field component.  
DataSet  
Identifies the dataset to which the field component belongs.  
Size  
Indicates the size used in the definition of the physical database field for data types that support different sizes.  
IsDetail  
Specifies whether the field is linked to a data set.  
Opened  
Specifies whether the linked data set is active, in the case when the field is linked to a data set.  
PutProc  
Stores the procedure used to add the field to the data set.  
LocalFieldIndex  
Index variable used internally.  
FieldInfos  
In the case when the field is linked to a data set, FieldInfos contains information about all the fields in the linked data set. To access the information about the fields, do a typecast on FieldInfos to a TInfoArray.  

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!