B
Baz
This has never worked, there is no such thing as a Sections collection for a
report.
A report has a Section property, which is an array and must be indexed by
number. For example, Report.Section(0) returns the detail section.
If you really need to enumerate the sections in a report, you will need a
loop with an integer counter which you can use to index the Section
property, and you will need an error trap to terminate the loop because, as
far as I know, there is no way of determining the upper bound of the Section
array.
Please don't post with all your initial letters capitalised, it's very hard
to read and quite annoying.
report.
A report has a Section property, which is an array and must be indexed by
number. For example, Report.Section(0) returns the detail section.
If you really need to enumerate the sections in a report, you will need a
loop with an integer counter which you can use to index the Section
property, and you will need an error trap to terminate the loop because, as
far as I know, there is no way of determining the upper bound of the Section
array.
Please don't post with all your initial letters capitalised, it's very hard
to read and quite annoying.