Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

crystal report shading

Posted on 2008-10-21
6
Medium Priority
?
440 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 2000 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
Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

 
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

Give Your Engineering Team a Productivity Boost

Learn why container technology is so powerful and how it can provide your team with productivity gains and other benefits.

Question has a verified solution.

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

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
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.…
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…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

715 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