Solved

Invert color from gray to white in the details

Posted on 2003-11-05
5
529 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Crystal Report Grouping 8 65
Crystal Report fractions 4 68
dynamically populate report text based on command data 7 49
Crystal Reports - Trim Data 7 40
Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
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…
This is a video describing the growing solar energy use in Utah. This is a topic that greatly interests me and so I decided to produce a video about it.
This is a video that shows how the OnPage alerts system integrates into ConnectWise, how a trigger is set, how a page is sent via the trigger, and how the SENT, DELIVERED, READ & REPLIED receipts get entered into the internal tab of the ConnectWise …

930 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

12 Experts available now in Live!

Get 1:1 Help Now