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 

Delphi7+dbExpress+MySql version 5.0

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (dbExpress)
View previous topic :: View next topic  
Author Message
Johan Ingemansson
Guest





PostPosted: Wed Jan 18, 2006 8:45 am    Post subject: Delphi7+dbExpress+MySql version 5.0 Reply with quote



Hi,

I have the following problem I have an application which have a
TSQLConnection component, Im new to this component, I have set the following
properties
Name:=SqlConnection1;
ConnectionName: = MSConnection;
DriverName:=MYSQL

I have also set the params, according to my database name, user etc. Now
when I set Connected:=True, it seem to work.

But then I want to use a TSQLTable as well, I have done the following:

Name:=SQLTable1;
SQLConnection:=SQLConnection1;
TableName:=sql_company;(this is my testtable)

but the problem occurs when I set SQLTable1.Active:=True;(I do this in
design time)
then I get Access Violation in dbexpMySql.dll,
Im using delphi 7 Professoional Build 8.1,

does anyone know what might cause this problem? I would be grateful for any
ides/suggestions

Best Regards

Johan Ingemansson



Back to top
Remo Tex
Guest





PostPosted: Wed Jan 18, 2006 9:00 am    Post subject: Re: Delphi7+dbExpress+MySql version 5.0 Reply with quote



Johan Ingemansson wrote:
Quote:
Hi,

I have the following problem I have an application which have a
TSQLConnection component, Im new to this component, I have set the following
properties
Name:=SqlConnection1;
ConnectionName: = MSConnection;
DriverName:=MYSQL

I have also set the params, according to my database name, user etc. Now
when I set Connected:=True, it seem to work.

But then I want to use a TSQLTable as well, I have done the following:

Name:=SQLTable1;
SQLConnection:=SQLConnection1;
TableName:=sql_company;(this is my testtable)

but the problem occurs when I set SQLTable1.Active:=True;(I do this in
design time)
then I get Access Violation in dbexpMySql.dll,
Im using delphi 7 Professoional Build 8.1,

does anyone know what might cause this problem? I would be grateful for any
ides/suggestions

Best Regards

Johan Ingemansson



Official Borland (Delphi v7, 8, 2005, 2006) dbExpress drivers support

only MySQL versions up to 4.0.x (4.0.26 latest)
Try corelab drivers instead or Open source dbExpress drivers at
sourceforge.net

Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (dbExpress) 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.