Solved

Invert color from gray to white in the details

Posted on 2003-11-05
5
526 Views
Last Modified: 2012-05-04
Anyone has a quick formula that will display the Details of a certain group header with 2 colors, alternating each other?
I want the odd's to be in white and the even's to be in gray (or something like it).
My formula dosn't work, and I'm not sure what to use for it.

Thanks,

Gian
0
Comment
Question by:gian_the_man
  • 2
  • 2
5 Comments
 
LVL 42

Expert Comment

by:frodoman
ID: 9689105
If Remainder(GroupNumber, 2) = 0 Then
   gray
Else
   white
0
 
LVL 42

Expert Comment

by:frodoman
ID: 9689130
Or

If (GroupNumber Mod 2) = 0 Then
   gray
Else
   white

I think this is actually marginally faster because it does integer math instead of real numbers.
0
 
LVL 100

Accepted Solution

by:
mlmcc earned 100 total points
ID: 9689158
What are you trying?

Click FORMAT --> FORMAT SECTION
Select the approprite detail section
Click the Color Tab
Click the formula button for background
If (RecordNumber mod 2) = 0 then
  gray
else
  white

mlmcc
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 9691922
Glad I could help

mlmcc
0
 

Author Comment

by:gian_the_man
ID: 9696559
You are the man...
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now