 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Todd Grigsby Guest
|
Posted: Tue Aug 17, 2004 6:26 pm Post subject: MySQL 4.1.x, MyODBC 3.51, Booleans as integers |
|
|
CONFIGURATION:
MySQL 4.1.3b beta
MyODBC 3.51
I've built several tables with fields that are defined as boolean. In Delphi, I
have a dataset in which I've autopopulated the field list, and those fields are
of type TBooleanField. But when I open the dataset, the field types being
returned by the MyODBC driver are of type integer, so I get a datatype conflict.
MY QUESTION: Does anyone know of either 1) some way to tell TBooleanFields to
treat a smallint as a boolean, or 2) tell MyODBC to describe the field as a
boolean rather than as a smallint?
Thanks in advance,
Todd
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|