title: Set report field value in crystal reports
body: <p>I have a report field where its value is "2". I need to display in report as "True" if report field value is 2.How do i do this in Formula editor crystal reports ? Please help me.</p>
  
  <p>EDIT :Here is my code in formual Editor: 
      if( {emp.company_id}=2) Then
         CStr ({emp.company_id}) ="ABC pvt ltd"</p>
  
  <p>As emp.company_id is integer value i have tried converting it to string but still it displays as 2 in report.</p>