Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SQL C++ Builder

Status
Not open for further replies.

gasbh

Technical User
May 6, 2002
1
BR
I need insert datas and select datas from MySQL database to C++ Builder. I use BDE for do this communication, but I don´t know how do this. Someone has a code for how do this consult.
Thanks a lot,
gasbh@ig.com.br
 
If I understand your question properly..
just use an Query component and add the SQL

for example if you had a Query component called QSearch

String CrewID = "43221";
QSearch->Close();
QSearch->SQL->Clear();
QSearch->SQL->Add("Select * from CrewTable where CrewID = " + QuotedStr(CrewID));
QSearch->Open();

let me know if you need anything else
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top