Browse Source

* Proper CheckTypeSize check for TWideStringField
* Allow non-zero Size for TNumericField to avoid problems with buggy TDataset descendents

git-svn-id: trunk@9865 -

joost 17 years ago
parent
commit
88dc37a1e3
1 changed files with 1 additions and 0 deletions
  1. 1 0
      packages/fcl-db/src/base/db.pas

+ 1 - 0
packages/fcl-db/src/base/db.pas

@@ -494,6 +494,7 @@ type
     FDisplayFormat : String;
     FEditFormat : String;
   protected
+    class procedure CheckTypeSize(AValue: Longint); override;
     procedure RangeError(AValue, Min, Max: Double);
     procedure SetDisplayFormat(const AValue: string);
     procedure SetEditFormat(const AValue: string);