Link to home
Start Free TrialLog in
Avatar of sensitive
sensitive

asked on

How to make first field in crystal report 8.5 formula bold containing concatenation more than two fields

hi
   i am using crystal report 8.5 and have formula which
 contains two fields like @emp_data (formula)
 which contains two fields
 ({emp.emp_name}) + ' ' + ({emp.emp_add})

 i want ({emp.emp_name})  should appear in bold
 while rest in i.e. ({emp.emp_add})
in normal character.

 i have tried with paragraph formatting to html text
 but its giving error in formula as well as truncating rest part i.e. address.
Also , doing bold the whole formula is not i want.

hope to get answer soon...

Rahul

ASKER CERTIFIED SOLUTION
Avatar of vidru
vidru

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of sensitive
sensitive

ASKER

hi dave
  thanx 4 takin interest . i have tried it
but its not working infact it is concatting with
name
like output:
<b> John</b>- A 77 .....
i have tried this with paragraph formatting
option with text to html as well as none option
out put is same.
Any other way
 
Place a text object onto the report, and make it as wide as {emp.emp_name} + ' ' + {emp.emp_add} can be.  Put the {emp.emp_name} field on the report, make it bold, then drag it into the text object.  Put your cursor in the text object after {emp.emp_name}, and put a space.  Then, just drag the {emp.emp_add} field into the text object.

-dave


hi dave

   wat u have told me this time was doing earlier
 there was problem with formatting as name
 was taking sometimes 2 lines while address
 sometimes was taking more than allocated
 space thats why i have to combine them in
 formula with address starting from new line
 Here in formula only problem i faced was
 bolding of first field i.e. name here.

 as with html syntax am i missing something
 thats why it taking as string combining with name
 wat do u say.....

 rahul
 
 
hi dave
           i have accepted ur paragraph formatting
 ans but its not working with same version of
 crystal report 8.5 on required  machine
 any reason!!!!!!!!!!1

rahul