|
@@ -322,7 +322,8 @@ function TBufDataset.GetFieldSize(FieldDef : TFieldDef) : longint;
|
|
|
|
|
|
begin
|
|
begin
|
|
case FieldDef.DataType of
|
|
case FieldDef.DataType of
|
|
- ftString : result := FieldDef.Size + 1;
|
|
|
|
|
|
+ ftString,
|
|
|
|
+ ftFixedChar: result := FieldDef.Size + 1;
|
|
ftSmallint,
|
|
ftSmallint,
|
|
ftInteger,
|
|
ftInteger,
|
|
ftword : result := sizeof(longint);
|
|
ftword : result := sizeof(longint);
|