A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Setting Up & Running Reports
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Dynamic Group Report



 
 
Thread Tools Display Modes
  #1  
Old September 2nd, 2009, 03:09 AM posted to microsoft.public.access.reports
inungh
external usenet poster
 
Posts: 177
Default Dynamic Group Report

On Sep 1, 4:24*pm, Marshall Barton wrote:
iccsi wrote:
I have a report which has 3 levels which are detail, group 1 and group
2.


I would like to have my report has dynamic grouping,


For example, there is one radio button on the form which has 3 options
like details, group 1 and group 2.


If user selects details then there is no group to get whole report in
one group. If user selects group 1 then the report shows group 1 and
details.


Are there any example to have dynamic grouping?


You can only add or delete grouping entries at design time.
However, you can manipulate ***existing*** groups at *run
time by setting the GroupLevel (see VBA Help) properties in
the report's Open event procedure.

For example, you can effectively "disable" a group level by
setting the group level entry's control source to a constant
expression:

* * * * Me.GroupLevel(0).ControlSource = "=1"
* * * * Me.GroupHeader1.Visible = False
* * * * Me.GroupFooter1.Visible = False

--
Marsh
MVP [MS Access]


Thanks millions,

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 06:18 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.