Need Some Bcb6 Dbexpress-mysql Help

Discussion of open issues, suggestions and bugs regarding usage of dbExpress drivers for MySQL in Delphi and C++Builder
Post Reply

Need Some Bcb6 Dbexpress-mysql Help

Post by Gabi » Thu 26 May 2005 12:19

well, the thing is i just can't figure out how to get a record from the mysql table into a string variable. this is what i'm doing:

Code: Select all

void __fastcall TForm1::Button1Click(TObject *Sender)
       char buffer;

the text of the current record should be 'cacat' but the label just goes blank. i really can't figure this out. i tried Text,DisplayText on fields and many others but... nothing. any help is greatly apreciated.

Posts: 1693
Joined: Thu 28 Oct 2004 13:56

Post by Ikar » Fri 27 May 2005 09:55

Use Fields property to get field values. You can see description with examples in CBuilder help and demos.

SQLDataSet1->Prepared makes no sense in this case.

Post Reply