P
Paul Kraemer
Hi,
I am using Access 2007. I have created a report with a detail section and
some summary information in the group header. Sometimes I want to see the
detail section, but other times I would like the detail section to be hidden
so that I only get the summary info. Can anyone tell me if there is a
relatively easy way I can give myself this choice each time I run the report
using VBA? If so, if you could give me a quick sample of how to reference a
report's detail section and tell me what is the best event to use if I want
to set the .Visible property to False, I'd really appreciate it.
Or is it easiest to just create two reports, one with the Detail section
visible and one with the detail section not visible?
Thanks in advance,
Paul
I am using Access 2007. I have created a report with a detail section and
some summary information in the group header. Sometimes I want to see the
detail section, but other times I would like the detail section to be hidden
so that I only get the summary info. Can anyone tell me if there is a
relatively easy way I can give myself this choice each time I run the report
using VBA? If so, if you could give me a quick sample of how to reference a
report's detail section and tell me what is the best event to use if I want
to set the .Visible property to False, I'd really appreciate it.
Or is it easiest to just create two reports, one with the Detail section
visible and one with the detail section not visible?
Thanks in advance,
Paul