GaelicFatboy
Registered User.
- Local time
- Today, 14:59
- Joined
- Apr 17, 2007
- Messages
- 100
Hi Chaps,
I'm trying to construct a collection of all the subreport names in a report, but I'm having trouble retrieving them.
CODE SO FAR:
The code goes through one iteration and halts on the "Next" statement.
Any thoughts?
Cheers
D
I'm trying to construct a collection of all the subreport names in a report, but I'm having trouble retrieving them.
CODE SO FAR:
Code:
Private Sub Report_Load()
Dim rptMain As Report_Xray_PackM1_rpt
Dim rptSub As Report
For Each rptSub In rptMain
Debug.Print rptSub.Name
Next
End Sub
The code goes through one iteration and halts on the "Next" statement.
Any thoughts?
Cheers
D
Last edited by a moderator: