ReportBuilder 10.x with MyDAC

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
bravecobra
Posts: 11
Joined: Tue 21 Mar 2006 11:20

ReportBuilder 10.x with MyDAC

Post by bravecobra » Wed 22 Mar 2006 09:59

The demo's in the MyDAC package contain a rbMyDAC.dpk to allow ReportBuilder to work with MyDAC. Very nice of course, except they are for ReportBuilder 9.x
Luckily you can just upgrade the required packages in the dpk source to the latest ReportBuilder 10.x like this:

Code: Select all

package rbMyDAC;

{$R *.res}
{$ALIGN 8}
{$ASSERTIONS ON}
{$BOOLEVAL OFF}
{$DEBUGINFO ON}
{$EXTENDEDSYNTAX ON}
{$IMPORTEDDATA ON}
{$IOCHECKS ON}
{$LOCALSYMBOLS ON}
{$LONGSTRINGS ON}
{$OPENSTRINGS ON}
{$OPTIMIZATION ON}
{$OVERFLOWCHECKS OFF}
{$RANGECHECKS OFF}
{$REFERENCEINFO ON}
{$SAFEDIVIDE OFF}
{$STACKFRAMES OFF}
{$TYPEDADDRESS OFF}
{$VARSTRINGCHECKS ON}
{$WRITEABLECONST ON}
{$MINENUMSIZE 1}
{$IMAGEBASE $400000}
{$DESCRIPTION 'ReportBuilder Pro Data Access for MyDAC'}
{$IMPLICITBUILD OFF}

requires
  dac70,
  vclx,
  rbRCL107, {was rbRCL97}
  rbIDE107, {was rbIDE97}
  rbDB107, {was rbDB97}
  rbDAD107, {was rbDAD97}
  dacvcl70,
  mydac70;

contains
  daMyDAC in 'daMyDAC.pas';

end.
Compile the package en enjoy :).

Antaeus
Posts: 2098
Joined: Tue 14 Feb 2006 10:14

Post by Antaeus » Wed 22 Mar 2006 16:35

Thank you for the information. We will take it into account.

Post Reply