Anyone know how to Supress a header/footer in code? I know I can...
But they grouping still executes. Basically I have two group bands on the report. First by Zone Id and then by Agent Id. One the form the user can choose how they want to group the report and I change my SQL accordingly. If they only want to group by Agent, I then display the Zone for the order in the details section. But for some reason the report still is grouping the records even though I told it not to display the headers.
What i really want to do is selectively ignore certain group logic, supress it so it doesn't execute unless I explicitly tell it to.
Journeyman -- The Order of the Seekers of Truth and Penitence
Code:
Me.ZoneIdHeader.Visible = False
Me.AgentIdFooter.Visible = True
But they grouping still executes. Basically I have two group bands on the report. First by Zone Id and then by Agent Id. One the form the user can choose how they want to group the report and I change my SQL accordingly. If they only want to group by Agent, I then display the Zone for the order in the details section. But for some reason the report still is grouping the records even though I told it not to display the headers.
What i really want to do is selectively ignore certain group logic, supress it so it doesn't execute unless I explicitly tell it to.
Journeyman -- The Order of the Seekers of Truth and Penitence