Browse Source

fcl-db: fields: use new implemented FormatBCD function to format TFMTBCDField. Depends on rev.24128! Bug #24096

git-svn-id: trunk@24130 -
lacak 12 years ago
parent
commit
c844ae8cb5
1 changed files with 1 additions and 2 deletions
  1. 1 2
      packages/fcl-db/src/base/fields.inc

+ 1 - 2
packages/fcl-db/src/base/fields.inc

@@ -2622,8 +2622,7 @@ begin
     else
     else
       fmt := FEditFormat;
       fmt := FEditFormat;
     if fmt<>'' then
     if fmt<>'' then
-      TheText := BCDToStr(bcd)
-      //TheText := FormatBCD(fmt,bcd) //uncomment when formatBCD in fmtbcd.pp will be implemented
+      TheText := FormatBCD(fmt,bcd)
     else if fCurrency then begin
     else if fCurrency then begin
       if aDisplayText then
       if aDisplayText then
         TheText := BcdToStrF(bcd, ffCurrency, FPrecision, 2)
         TheText := BcdToStrF(bcd, ffCurrency, FPrecision, 2)