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

Can we use stored procedure for creating the report?

11 Answers   Medreich,


what is the "refresh" button suppose to do on the crystal report viewer?

2 Answers  


How can i normalize a Crystal Report..??

0 Answers   HCL,


reporter footer contents are move depend the page footer values...........

2 Answers  


Explain reporter footer contents are move depend the page footer values?

0 Answers  






How to add Crystal Reports(Standalone) to my VB.NET project

2 Answers  


How to print two details fields at the bottom of the page

5 Answers  


How do we connect to the database?

6 Answers  


Can we call or add subreport within subreport?

10 Answers  


How can we improve the performance of a crystal report?

0 Answers  


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

0 Answers   CSC,


hi.. i've one crystal report. i want the report header as "employee database". i dont want to right click->insert and goto text object and insert. i've one aspx page and aspx.cs page also. now i want the "employee database" header to be printed from .cs file. i dont want to pass by parameter also.. i.e is there any option in .cs file something like ReportDocument myreport = new ReportDocument(); myreport.Load(MapPath("~/" + "emp.rpt")); myReport.Reportheader="Employee database"; i hope u have understood this. only thing is from .cs file i want to print the header as employee database. i dont want by passing parameter also... please help....

0 Answers  


Categories