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

Answers were Sorted based on User's Feedback



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

Answer / mlmcc

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

Is This Answer Correct ?    21 Yes 9 No

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

Answer / parvathi

hi.........
its really good.
thanks for this code.
i resolved my bug depends on this...

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More Crystal Reports Interview Questions

Suppose I have a crystal report with a linked subreport as well. Is there any way not to print the current record on the main report if no records are returned from the subreport?

0 Answers  


Why do we use crystal reports when we have reporting tools in bo itself?

0 Answers   Tech Mahindra,


How do we connect to the database?

6 Answers  


Suppose I am not able to see any image on crystal report at run time. So how can I load any image which is saved in local disk so that it can be viewed at runtime in crystal reports?

0 Answers  


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

2 Answers  






Where is the image located, after youve placed it on the report?

0 Answers  


What are the advantages or disadvantages of using Crystal Reports in a Windows Forms application as opposed to say rolling our own reports as HTML and displaying them in the Internet Explorer control?

2 Answers  


Does Crystal Report support all the functions that we have in Oracle?

2 Answers   MPS Techologies, Target,


How to refresh the crystal report from the application ?

6 Answers   Satyam,


How to present data from Crystal Reports on to form?

3 Answers  


How do we format field?

4 Answers  


What are the sections that we have in Crystal reports?

11 Answers  


Categories