Dot NET crystal reports Question:

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

.NET crystal reports Interview Question
.NET crystal reports Interview Question

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


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