Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 368
  • Last Modified:

QReport and title band

I have a program with several reports.  Every report has the same title band.  When I change something to the title band, I have to do the same work in all the reports.  That is a lot of work and there is the risk of forgetting something.

How can I organise my reports so that a change in the title band is instantly visible in all the reports ?  What I need is some kind of "template".  Any ideas ?

Thank you.

walter.
0
lecossois
Asked:
lecossois
  • 4
  • 2
1 Solution
 
dwwangCommented:
You can create a form, and design a report component on it,
with only the title band you want.

Then let other report forms derive from that form.

ps, at least work well in D3.
0
 
lecossoisAuthor Commented:
Could you give some more information because it's not clear to me how this can be done visually.

How can I derive a form in a visual way (I know how to do it by writing code, but that is certainly not a good solution).



0
 
lecossoisAuthor Commented:
Could you give some more information because it's not clear to me how this can be done visually.

How can I derive a form in a visual way (I know how to do it by writing code, but that is certainly not a good solution).



0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
dwwangCommented:
If you are using Delphi3/4, just open your project,
create the form with the title band report,
then chose file-new...

In the "new" dialog, select the page that is your project name. For example, there will be pages as form, datamodule, ..., also there should be a page of your project's name.

select the form (with the report) in that page, then
chose OK(because only inherit can be performed on an
existing form).

In previuod versions of Delphi, this way may not work very well.

Good luck.

0
 
lecossoisAuthor Commented:
That was exactly what I needed.  Thank you very much !
0
 
lecossoisAuthor Commented:
Dwwang, I will post a new question on this matter for 100 points.  Maybe you can tackle this one too !!

0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now