Page 1 of 1

ReportBuilder 10.x with MyDAC

Posted: Wed 22 Mar 2006 09:59
by bravecobra
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 :).

Posted: Wed 22 Mar 2006 16:35
by Antaeus
Thank you for the information. We will take it into account.