Browse Source

+ added support for ftFixedChar

git-svn-id: trunk@1655 -
joost 20 years ago
parent
commit
80e6d5c0f8
1 changed files with 2 additions and 1 deletions
  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);