Joined: 08 Nov 2011
Online Status: Offline
Posts: 17
Topic: Subreport Naming Posted: 08 Nov 2011 at 7:06am
New to the forum, I hope you can help me.
Crystal 8.5, when a subreport is added to a report by copying an existing file, where is the subreport name coming from? I thought it would be the file name but that doesn't seem to be true. Is is possible to rename a subreport? It seems the only way I can get the subreport name that I want is by creating a new subreport. Not exactly what I want to do since my multiple subreports are very similar and it is much easier to copy existing subreports.
Joined: 08 Nov 2011
Online Status: Offline
Posts: 17
Posted: 08 Nov 2011 at 7:46am
No real place to rename the subreport in Format Editor | Subreport in 8.5.
The best I could find was the Format Formula Editor : Subreport_Tab_Text for "Subreport preview tab caption". But adding text into the editor didn't seem to change anything.
Joined: 08 Nov 2011
Online Status: Offline
Posts: 17
Posted: 16 Nov 2011 at 6:13am
On second thought, SaveAs didn't work. Even if you rename a report and import it as a SubReport, the name of the SubReport in the report's design view doesn't change.
Joined: 11 Mar 2011
Location: United States
Online Status: Offline
Posts: 251
Posted: 18 Nov 2011 at 3:47pm
Then you might try copying the sub report, placing the copy in a separate folder, then remove the sub report from the report and using the Insert Sub Report command place the renamed sub report in the original and see if that doesn't do the trick.You might go the extra step and save the report without the sub just as a make sure it's gone option much like you should do if your reinstalling a program to minimize problems.
If you're doing a drastic change like this I always copy the report in case it blows up so I have a fall back.You should be able to place the copy in the same folder as the renamed sub.
Also is the sub in the Details section and is the name you're referencing in the header?If so you should be able to change the text box by editing the text.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum