Page 1 of 1

OraQuery & DBGrid (Borland Builder C++)

Posted: Mon 04 Jul 2005 21:01
by avi
How can i associat DBGrid whith a result of OraQuery ???

I try :
DBGrid1->DataSource->DataSet = OraQuery1->DataSource->DataSet;

but i receive "Access Violation" ERROR.

Posted: Tue 05 Jul 2005 07:00
by Alex
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:

Code: Select all

 DataSource1->DataSet = OraQuery1;
 DBGrid1->DataSource =  DataSource1;