Forum Discussion
britt1270
Aug 30, 2024Copper Contributor
Inconsistent Results Referencing Nested Subreport Property
I have placed several subreports in an unbound report's Report Header. Each subreport has two subreports. I'm trying to get the value of the Top property of the first of these sub-subreports, but I'm...
britt1270
Aug 30, 2024Copper Contributor
So should I be doing this in a different event? I thought subreports loaded before the parent report.
peiyezhu
Aug 30, 2024Bronze Contributor
https://learn.microsoft.com/en-us/office/vba/api/access.report.activate
https://learn.microsoft.com/en-us/office/vba/api/access.report.current
try activate or current events
https://learn.microsoft.com/en-us/office/vba/api/access.report.current
try activate or current events
- britt1270Aug 31, 2024Copper ContributorI believe I need my code to run before either of those events. At what point would nested subreport properties be available to the parent report?
- peiyezhuAug 31, 2024Bronze ContributorSorry,I can not understand your situation in detail.
I can not get what you mean :
At what point would nested subreport properties be available to the parent report.