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  

Greenbar in report



 
 
Thread Tools Display Modes
  #1  
Old May 18th, 2004, 06:12 AM
Microsoft News
external usenet poster
 
Posts: n/a
Default Greenbar in report

Anyone know how to produce alternate grayed lines in a report; what used to
be called greenbar? Makes it easier to find lines.
Thanks in advance,
Bill


  #2  
Old May 18th, 2004, 08:15 AM
Marshall Barton
external usenet poster
 
Posts: n/a
Default Greenbar in report

Microsoft News wrote:

Anyone know how to produce alternate grayed lines in a report; what used to
be called greenbar? Makes it easier to find lines.



Set all of the controls to have their BackStyle Transparent.
Then add some code to the detail section's Format event
procedure

If Me.Section(0).BackColor = vbWhite
Me.Section(0).BackColor = RGB(220,220,220)
Else
Me.Section(0).BackColor = vbWhite
End If
--
Marsh
MVP [MS Access]
 




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 05:46 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.