Ver código fonte

+ added support for ftFixedChar

git-svn-id: trunk@1655 -
joost 20 anos atrás
pai
commit
80e6d5c0f8
1 arquivos alterados com 2 adições e 1 exclusões
  1. 2 1
      fcl/db/bufdataset.inc

+ 2 - 1
fcl/db/bufdataset.inc

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