Home Subreports
New Blog Posts: Merging Reports - Part 1 and Part 2

changing the name of a sub report in designer

edited March 2009 in Subreports
Hi
Is there any way to change the subreport name inside designer?
I have two programs
1. First one allows my customers to customize their report and save the rtm
files. (TppDesigner is used)
2. Second one reads this rtm file and prints the report

When I introduce a new subreport in the report, I would like to import my
new sub report into customer's rtm file without losing the changes they have
already made.
I tried the following:
i. Saved my new subreport (say myNewSubReport) alone to the disk
ii. Opened customer's rtm file in the first program.
iii. Added a new sub report to it (Report builder named this as subreport1)
iv. Using 'Load sub report' option, imported the sub report I saved in
step i.

But this doesn't work because my 'Second' program looks at sub report with
the name myNewSubReport , not subreport1.
I could not change this subreport name to actual subreport name. Is thery
any way to change the subreport name?
or is there any other way to import a sub report? Can some one help me?

PS. Iam using Delphi 5.0, Report builder 6.03, Windows XP

Thanks in advance
Monichen.KA
monichen.ka@consona.com

Comments

This discussion has been closed.