Page 1 of 1

How do i incorporate mydac into RaveReports

Posted: Fri 22 Jun 2007 14:54
by markcr1967
Is it possble to use mydac with RaveReports as shipped with C++Builder 2007? If so, how?

Posted: Sat 23 Jun 2007 12:56
by Antaeus
You can do this by using Rave Reports functionality for working with standard DataSets. Perform the following steps to add a DataView in the Rave Reports editor (I tested this with Rave Report for Delphi 7, but there should not be a greate difference with Rave Report for C++Builder 2007):
  • - place a TMyConnection component onto the form, specify connection settings, and perform connect;
    - place a TMyTable or TMyQuery onto the form, specify a table name or a query;
    - place a TRvDataSetConnection onto the form and set its DataSet property to the table or query added in the previous step;
    - run the Rave Visual Designer (double click on the TRvProject component);
    - run the New Data Object wizard from the File menu;
    - select the Direct Data view in the list and click the Next button;
    - a list of the active data connections will appear. It should contain only one RvDataSetConnection1, which should be selected. Click the Finish button.