Microsoft
Software
Hardware
Network
Question : How do I remove 'group on' in VB code for Access 2007 report?
I have 3 Access 2007 reports that I am combining into 1 report: The combined report has the following group/sort by structure :
sort by A
group on B
group on C
sort by D
If certains conditions exist, I want to remove the group on C and leave the remaining:
sort by A
group on B
sort by D
I am attempting to do this in VB.
Me.Section("GroupHeader0")
.Visible = False
Me.Section("GroupFooter1")
.Visible = False
Me.GroupLevel(2).ControlSo
urce = "" -- this gives an error
How can I remove a Group By in VB?
Answer : How do I remove 'group on' in VB code for Access 2007 report?
I don't think you can change controlsource property "on-the-fly", while the report is running...
Please post the report if possible..
Thanks.
Zlatko
Random Solutions
Retrieve drivers before wipe?
How can I enable a template item accoding to query result ?
Event ID: 2019 "The server was unable to allocate from the system paged pool . . . "
Count consecutive numbers and the attach back to original dataset
PowerPoint AddIn/Custom Ribbon generating macro error
How do I convert a null value to a blank space?
Visual Studio 2008, Listbox location on picturebox insdie a form
Error 438 Obejct doesn't support property or method
How to read field names from an XSD file.
ReportViewer Export to PDF Loses Tabs or Multiple Blnak Spaces