Re: [GENERAL] Access bool integer solution

2005-12-19 Thread Sim Zacks
There are 3 bool possibilities in the ODBC driver 1) bools as char 2) true = -1 3) default (whatever that is, neither option is chosen) When it is the default (my current setting) or (True =-1 and not bools as char), then Access recognizes the data type as Yes/No. However, if you do a compariso

Re: [GENERAL] Access bool integer solution

2005-12-19 Thread Richard Huxton
Sim Zacks wrote: I've been having problems with bools in my Access frontend and PostGreSQL backend. The problem is that Access uses -1 for true and 0 for false and when it does a select it uses those numbers instead of the true or false values. PostGreSQL does not have an implicit conversion f

[GENERAL] Access bool integer solution

2005-12-18 Thread Sim Zacks
I've been having problems with bools in my Access frontend and PostGreSQL backend. The problem is that Access uses -1 for true and 0 for false and when it does a select it uses those numbers instead of the true or false values. PostGreSQL does not have an implicit conversion from int to bool, s