 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Warren Guest
|
Posted: Thu Jan 29, 2004 9:07 pm Post subject: MySQL and BCB5 Strange Error |
|
|
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 |
|
 |
|
|
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
|
|