Solved

crystal report shading

Posted on 2008-10-21
6
431 Views
Last Modified: 2013-11-07
Does anyone know the syntex if i have an ID called Directs I want shading anything else no color.

example
if RecordNumber Mod 0 = 0 Then silver Else NoColor

Open in new window

0
Comment
Question by:sevensnake77
  • 4
  • 2
6 Comments
 
LVL 100

Accepted Solution

by:
mlmcc earned 500 total points
ID: 22767865
Try it this way

If {IDfield} = 'Directs' then
   crSilver
else
   crNoColor

mlmcc
0
 
LVL 9

Author Comment

by:sevensnake77
ID: 22768255
getting error also when I input the syntex you provided I get the ID field highlighted and it says field not known.

Error in File  C:\WINDOWS\TEMP\temp_a1312633-eaf1-4fa9-a1e0-b62104b1863c.rpt: Error in formula  <Section_Back_Color>. 'If {ID} = 'Directs' then ' This field name is not  known.

If {ID} = 'Directs' then
   crSilver
else
   crNoColor

Open in new window

0
 
LVL 9

Author Comment

by:sevensnake77
ID: 22768267
never mind I know one sec
0
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 
LVL 9

Author Comment

by:sevensnake77
ID: 22768290
Ok I got that part. But what if I want just the text highlighted not the background?

If {item.ID} = 'Directs' then
   crSilver
else
   crNoColor

Open in new window

0
 
LVL 100

Expert Comment

by:mlmcc
ID: 22770492
Use the FORMULA BUTTON on the FONT page and change the color

mlmcc
0
 
LVL 9

Author Comment

by:sevensnake77
ID: 22770811
No I already got it, But thanks for the reply.
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

856 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