GoatieEddie
Technical User
Hi all,
I have a report with several subreports in it.
I want to have a button on a form that allows either the full report to be run or the report with the detail sections hidden (ie just summary data).
I have used this line in a module to effect one of the subreports:
Reports![Accounts Opened Over Period].Section(acDetail).Visible = False
but the report needs to be open in design mode to work.
How can i set it up so the property can be changed without the report being open? Even better, can I do it on the fly in preview mode? Switching to True seems to work but not back to false here.
Many thanks,
GE
I have a report with several subreports in it.
I want to have a button on a form that allows either the full report to be run or the report with the detail sections hidden (ie just summary data).
I have used this line in a module to effect one of the subreports:
Reports![Accounts Opened Over Period].Section(acDetail).Visible = False
but the report needs to be open in design mode to work.
How can i set it up so the property can be changed without the report being open? Even better, can I do it on the fly in preview mode? Switching to True seems to work but not back to false here.
Many thanks,
GE