The best place for RB components
Hi, I'm developing using Delphi 5 + RB 6, when i'm on design time there are
a lot of components to use a report, Query's, Pipelines, Report,
DataSources, etc..
I need a sugetion to organize all this components, somebody tellme that a
DataModule is a good place to put all this components but when I put
components there and call the report designer i get a warning about a poor
performance using this components on a DataModule....
Some suggetion...
TIA
Luis Villarreal
a lot of components to use a report, Query's, Pipelines, Report,
DataSources, etc..
I need a sugetion to organize all this components, somebody tellme that a
DataModule is a good place to put all this components but when I put
components there and call the report designer i get a warning about a poor
performance using this components on a DataModule....
Some suggetion...
TIA
Luis Villarreal
This discussion has been closed.
Comments
1. With Delphi 6, you can put the object on the TDataModule - no
problems.
2. For Delphi 5, you can do put them on a TForm and just never "show"
the form. See RBuilder\Demos\Reports\Demo.dpr. It does this. The report
application tutorial in the Developers Guide shows how to do this also.
3. With RB Professional or Enterprise you can use the Data workspace of
the report designer to visually create the queries. They can then be
stored as part of the report definition either in the .exe or
externally.
4. With RB Enterprise you can code event-handlers using RAP and they can
be stored as part of the report definition as well.
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com