IBObjects
Please help-me to make reports with native IBObjects ?
Is there a component that I must install ?
Help please..urgent.
I use FR 2.52 and I'm registered user.
My name is Ramzi Youssef.
Thank you.
Is there a component that I must install ?
Help please..urgent.
I use FR 2.52 and I'm registered user.
My name is Ramzi Youssef.
Thank you.
Comments
You dont need extras components,
only check file FR.INC (uncoment Define IBO, IBO4)
before instalation Fast Report
Bye jan
IB_Datasources, IB_Querys... in iboaccess panel
and not IBOTable and IBOQuery ... in iboTDataset that works fine.
Here's what I did.
Edit fr.inc to include IBO
Before compiling, I added
USEPACKAGE("IBO40CRT_C5.bpi");
USEPACKAGE("IBO40FRT_C5.bpi");
USEPACKAGE("IBO40VRT_C5.bpi");
to fr.cpp, and also included the IBO paths so that FR could see the headers etc.
Also, I found that I needed to manually change a .hpp file (specific to BCB) because it was using db::TDataset and db::TDataSource instead of the IBO versions.
HTH
David
running with IBObjects native mode?
The only reason I purchased Fast Report was
because it worked with IBObjects native, and
now they have broken it. But then I never could
get it to work easily with IBObjects after FR went
to 2.5x
Steve Fields
Not really, I'm a BCB bod. I would have thought you just need to edit the fr.inc file and may be let FR know the path to the IBO files.
What problem are you having?
Once I modify the fr.inc file it will not compile
again with the given "includes". It does not like
the IBO files, because they do not include the
_D7 (or _D5 in the IBO file names . After that it does
not compile because of extraneous endif compiler
commands that are left behind.
After that it wants the rx files and the qw files
and it wants the Teechart files for different
versions: all of this because of uncommenting
the two lines that specify IBO. It then goes on
to specify 30+ errors due to TDataset mixed
defines. (ADO, IBX, Etc.)
After that I get errors that I get errors on the
below lines...
TfrDatabase =
{$IFDEF IBX}class(TIBDatabase){$ENDIF}
{$IFDEF ADO}class(TADOConnection){$ENDIF}
{$IFDEF BDE}class(TDatabase){$ENDIF}
private
function GetDatabase: String;
procedure SetDatabase(Value: String);
function GetDriver: String;
procedure SetDriver(Value: String);
Notice that IBO is not included in the ifdef
statements.
Steve Fields