Dot NET crystal reports Question:
Download Questions PDF

How to write a formula to change a font based upon data?

Answer:

Select the field
Click FORMAT
Click FORMAT FIELD
Select the FONT tab
Click the FORMULA BUTTON to the right of FONT
if ({YourField} = Value) then
"Arial"
else
"Times New Roman"

Click SAVE Icon
Close the formula editor
Click OK on the FORMAT screen

Download .NET crystal reports Interview Questions And Answers PDF

Previous QuestionNext Question
Are there any limitations in crystal reports?How to refresh the crystal report from the application?