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  

Format grouping



 
 
Thread Tools Display Modes
  #1  
Old May 20th, 2004, 07:50 AM
Frank
external usenet poster
 
Posts: n/a
Default Format grouping

I have a report thats using grouping with headers and
footers for a field called Categories. In the
CategoriesHeading Header I have some labels but would like
to hide them for some Categories but not others. Is this
possible, if so... How?

Thanks in Advance
  #2  
Old May 20th, 2004, 02:54 PM
Les
external usenet poster
 
Posts: n/a
Default Format grouping

You can do the following:

Click on properties for your header. On "On Format",
select event procedure. Then click the symbol with ...
This will take you to class module where you can enter
code something like below.

If (category = "somevalue") Then
Me.label1.Visible = False
Me.label2.Visible = False
End If

This will hide your labels. Make sure you refer to your
labels by name.

-----Original Message-----
I have a report thats using grouping with headers and
footers for a field called Categories. In the
CategoriesHeading Header I have some labels but would

like
to hide them for some Categories but not others. Is this
possible, if so... How?

Thanks in Advance
.

 




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 04:10 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.