On 7-8-2011 19:50, Ludo Brands wrote:
TBufDataset doesn't support ftVarBytes and ftVariant. Variants are
complex objects and aren't stored by just copying bytes. Don't use
them with TBufDataset.
Ludo
... cause they have some kind of structure that describes
what kind of data
On 7-8-2011 19:50, Ludo Brands wrote:
TBufDataset doesn't support ftVarBytes and ftVariant. Variants are complex
objects and aren't stored by just copying bytes. Don't use them with
TBufDataset.
Ludo
... cause they have some kind of structure that describes what kind of
data the
TBufDataset doesn't support ftVarBytes and ftVariant. Variants are
complex objects and aren't stored by just copying bytes. Don't use
them with TBufDataset.
Ludo
... cause they have some kind of structure that describes
what kind of data the variable/field actually contains and
Hi list,
Free Pascal Compiler version 2.5.1 [2011/08/04] for i386
While improving my fcl-db XML export code, I'm testing with ftVariant
types in a bufdataset:
FieldDef := FTestDataset.FieldDefs.AddFieldDef;
FieldDef.Name := 'ftVariant';
FieldDef.DataType := ftVariant;
This works:
Hi list,
Free Pascal Compiler version 2.5.1 [2011/08/04] for i386
While improving my fcl-db XML export code, I'm testing with
ftVariant types in a bufdataset:
FieldDef := FTestDataset.FieldDefs.AddFieldDef;
FieldDef.Name := 'ftVariant';
FieldDef.DataType := ftVariant;
This
On 7-8-2011 18:28, Ludo Brands wrote:
FTestDataSet.FieldByName('ftVarBytes').AsString:=TestString;
FTestDataSet.FieldByName('ftVariant').AsString:=TestString;
Same problem as before: TBufDataset doesn't support correctly ftVarBytes and
ftVariant and doesn't raise an
Same problem as before: TBufDataset doesn't support correctly
ftVarBytes and ftVariant and doesn't raise an
SErrFieldTypeNotSupported like TMemDataset is doing. Look at
TCustomBufDataset.GetFieldSize and you'll see that data length for
ftVarBytes and ftVariant is arbitrarely set at
On 7-8-2011 19:50, Ludo Brands wrote:
Same problem as before: TBufDataset doesn't support correctly
ftVarBytes and ftVariant and doesn't raise an
SErrFieldTypeNotSupported like TMemDataset is doing. Look at
TCustomBufDataset.GetFieldSize and you'll see that data length for
ftVarBytes and