[thelist] CF: Determining which DB used.

John Handelaar john at userfrenzy.com
Wed Sep 12 10:36:20 CDT 2001


> -----Original Message-----
> From: thelist-admin at lists.evolt.org
> [mailto:thelist-admin at lists.evolt.org]On Behalf Of Frank
> Sent: 12 September 2001 16:25
> To: thelist at lists.evolt.org
> Subject: RE: [thelist] CF: Determining which DB used.
> 
> The specific case that Access uses 'Yes' and 'No' for booleans, 
> whereas MySQL uses '1' and '0'. I was hoping that I could have the 
> app automatically detect it.

Whilst it isn't necessarily the case for 'TRUE', 'FALSE' and
'NO' are mathematically equivalent to '0'...

Perhaps use the numeric value and detect !=False instead
of =True?

------------------------------------------
John Handelaar

T +44 20 7209 4117       M +44 7930 681789
F +44 870 169 7657   E john at userfrenzy.com
------------------------------------------  




More information about the thelist mailing list