Solved

crystal report shading

Posted on 2008-10-21
6
439 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:Seven price
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
6 Comments
 
LVL 101

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:Seven price
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:Seven price
ID: 22768267
never mind I know one sec
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 9

Author Comment

by:Seven price
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 101

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:Seven price
ID: 22770811
No I already got it, But thanks for the reply.
0

Featured Post

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
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…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

623 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