Browse Source

* Patch from Ido <[email protected]> to fix AsString for booleanfield

git-svn-id: trunk@5312 -
michael 19 years ago
parent
commit
ed9a52a07a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      fcl/db/db.pp

+ 1 - 1
fcl/db/db.pp

@@ -30,7 +30,7 @@ const
 
   // Used in AsBoolean for string fields to determine
   // whether it's true or false.
-  YesNoChars : Array[Boolean] of char = ('Y','N');
+  YesNoChars : Array[Boolean] of char = ('N', 'Y');
 
   SQLDelimiterCharacters = [';',',',' ','(',')',#13,#10,#9];