How can i associat DBGrid whith a result of OraQuery ???
I try :
DBGrid1->DataSource->DataSet = OraQuery1->DataSource->DataSet;
but i receive "Access Violation" ERROR.
OraQuery & DBGrid (Borland Builder C++)
You can work with our datasets in the same way as with BDE. Please pay attention to C++ Builder Database help topics and to our CBuilder demo project.
As to your code, I think that you should create (or place on the form) TDataSource component, then do the following:
As to your code, I think that you should create (or place on the form) TDataSource component, then do the following:
Code: Select all
DataSource1->DataSet = OraQuery1;
DBGrid1->DataSource = DataSource1;