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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are field expressions and what are the diff types? (I looked this up in the internet and never found anything with regards to types of field expressions)?

664


How do you add a subreport to a report in Crystal Reports?

703


Explain the various components in crystal reports?

757


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?

638


Is there a way to be able to change an image(company logo) dynamically in a report? Example if you have 100 reports, and with the market uncertainty if you anticipate that the company logo might change, how can you change the image just in one place and have this reflected in all the reports at run time?

630






If we create reports in Crystal Reports using the UCAR Data Warehouse database, which tables should be used?

2251


hi... i've two crystal reports one is in D: drive name employee.rpt with 5 textobject and another report is in E: drive name employee.rpt with 15 textobject... now i want to write a program to overwrite the D drives report with E drives reports i.e i want to replace the 5 textobject with 15 textobject.. overwriting the reports while it is executing .. is there any code for it please help me.. its urgent..

2679


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

700


Explain basic steps required to display a simple report in crystal?

647


What all performance improvement techniques used in crystal reports? (Particularly cr xi)?

635


How to open subreport in new ie window using hyperlink button. I used target=new; in the formula field. But it overrides the main window and show the report?

671


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

653


How can we improve the performance of a crystal report?

675


how can we convert crystal dictionary dc5 file to another datasource format like mdb or xml schema

2661


How to access crystal reports in .net?

673