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...
peiyezhu
Aug 30, 2024Bronze Contributor
What's the difference between these two actions?
I guess the report has loaded into memory in the first case.
When opened from pane,it has not been loaded successfully.
I guess the report has loaded into memory in the first case.
When opened from pane,it has not been loaded successfully.
- britt1270Aug 30, 2024Copper Contributor
So should I be doing this in a different event? I thought subreports loaded before the parent report.
- peiyezhuAug 30, 2024Bronze Contributorhttps://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- 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?