BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

MySQL 4.1.x, MyODBC 3.51, Booleans as integers

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (SQL Servers)
View previous topic :: View next topic  
Author Message
Todd Grigsby
Guest





PostPosted: Tue Aug 17, 2004 6:26 pm    Post subject: MySQL 4.1.x, MyODBC 3.51, Booleans as integers Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (SQL Servers) All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.