I have a request to show/hide a footnote based on the value of a detail.
In the report code I...
Dim showFootnote as a global,
set txtFootnote.visible false in PageHeaderSection_Format
and toggle showFootnote in a detail test.
I then set txtFootnote.visible = showFootnote in the PageFooterSection_Format.
Works swell until a detail that would show the footnote starts on the bottom of the page but moves to the next page due to size. This apparently counts as still being in the page when the page footer format fires.
Question: How to test only the details that wind up actually showing on the page?