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 and BCB5 Strange Error

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder Databases (Desktop)
View previous topic :: View next topic  
Author Message
Warren
Guest





PostPosted: Thu Jan 29, 2004 9:07 pm    Post subject: MySQL and BCB5 Strange Error Reply with quote



I have MySQL DB and BCB5 Professional on a WinXP box I am trying to set some
variables in a MySQL DB called tmpMath.

When I try to set some variables through the BCB5 front end I receive this
error

Project1.exe raised exception class ENoResultSet with message "Error
creating curso handle".


String sSet="Set @x1=2";

qMath->Close();
qMath->SQL->Clear();
qMath->SQL->Add(sSet);
qMath->Open();//This line throws the error
txtResult->Text=dsMath->DataSet->Fields->Fields[0]->AsString;

If I SET the Variables directly in the MySQL DB it works perfectly.

Does anyone know what the problem is here?

Warren


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