Subreports in dll's
Currently we are getting our report from a dll. What I need to do now is
to break up on report and get each of the 5 main subreports out of 5
different dll's and be able to skip a subreport if that dll doesn't
exist. Is it posible to get a subreport out of a dll? Or to merge
report pieces from multiple sources?
to break up on report and get each of the 5 main subreports out of 5
different dll's and be able to skip a subreport if that dll doesn't
exist. Is it posible to get a subreport out of a dll? Or to merge
report pieces from multiple sources?
This discussion has been closed.
Comments
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
contain ReportBuilder. The unit level registration scheme (where classes are
registered) usually raises errors such as: already registered.
Also, what meaning does a report (or the objects it contains) have in the
context of another DLL or the main app. From a Delphi standpoint, it's a
totally different class.
I would try to use report templates or Delphi packages instead of DLLs. See
the Developer's Guide (deployment sections) for more on this...
Cheers,
Tom Ollar
Digital Metaphors Corporation
http://www.digital-metaphors.com
info@digital-metaphors.com
built with runtime packages including the reportbuilder bpl's.
you must have Tom misunderstanding. It doesn't matter if you are using
runtime packages of ReportBuilder, you should create a package that replaces
your DLL that keeps your reports.
HTH,
Chris Ueberall;
from another unit. These pieces may or may not exist and I can
determine that in the main report so the main report is looping through
a list of objects that will return a piece of the report to be plugged
into main one. Each of these pieces is completely different, uses
different pipeline, different components and different layouts.
As far as the dll's and packages, if all the dll's are using runtime
packages all of the reportbuilder class registration happens once in a
common location and all the dll's are sharing that. The dll is just a
piece added on top.
I ran into the the class registration with frames from our dll's and
solved it with the packages so I don't feel that will cause a problem if
I can get the pieces from several locations within a single exe I should
be able to move them to a dll without much work.
you can't place your reports inside a DLL, you have to use a BPL (a Delphi
specific form of a DLL, respecting RTTI) instead!
Was that clear enough?
HTH,
Chris Ueberall;
that later. The part that I need help with is the following
Ryan Jones wrote:
--
Cheers,
Tom Ollar
Digital Metaphors Corporation
http://www.digital-metaphors.com
info@digital-metaphors.com