You can change the display of the subreport name in the tab, by right clicking the subreport->format subreport->subreport->subreport preview tab caption->x+2 and entering the new name in quotes.
If you are using an on-demand subreport, you can change the displayed link by using the other x+2 formula area to enter a string.
In 8.0, once you have changed the caption, you must close any open subreport tabs, save your changes and then double click on the subreport to see the new caption. I just double checked this and it does work. What does NOT get changed is the name of the subreport object itself (look in design mode to see that this is true).
You can also change the tooltip text in preview to correspond to your new title by going to format subreport->common->tool tip text->x+2 and entering the desired text there. The tool tip will still show the original subreport name while in design mode.
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim cr As New CRAXDDRT.Application
Dim rpt As CRAXDDRT.Report
Dim r2 As CRAXDDRT.Report
Dim sec As CRAXDDRT.Section
Dim sbr As CRAXDDRT.SubreportObject
Dim sFile As String
Dim sF1 As String
Dim sF2 As String
Dim sPath As String
Dim sTRGPath As String
Dim newName As String
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.