Datasnap.Provider.TPutFieldInfo
Delphi
TPutFieldInfo = record
FieldNo: Integer;
Field: TField;
DataSet: TDataSet;
Size: Integer;
IsDetail: Boolean;
Opened: Boolean;
PutProc: TPutFieldProc;
LocalFieldIndex: Integer;
FieldInfos: Pointer;
end;
C++
struct DECLSPEC_DRECORD TPutFieldInfo
{
public:
int FieldNo;
Data::Db::TField* Field;
Data::Db::TDataSet* DataSet;
int Size;
bool IsDetail;
bool Opened;
TPutFieldProc PutProc;
int LocalFieldIndex;
void *FieldInfos;
};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
record struct |
public | Datasnap.Provider.pas Datasnap.Provider.hpp |
Datasnap.Provider | Datasnap.Provider |
Description
TPutFieldInfo contains information about a field.
TPutFieldInfo is a record containing information about a field. TPutFieldInfo is used when adding a new field to a dataset. 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 dataset. |
Opened |
Specifies whether the linked dataset is active, in the case when the field is linked to a dataset. |
PutProc |
Stores the procedure used to add the field to the dataset. |
LocalFieldIndex |
Index variable used internally. |
FieldInfos |
In the case when the field is linked to a dataset, FieldInfos contains information about all the fields in the linked dataset. To access the information about the fields, do a typecast on FieldInfos to a TInfoArray. |