on 03-11-2015 4:46 AM
Hi All
Here my problem is in crystal report, i have Bind two location in one Column using new line("\n"), here i'm using formula for bold font in crystal report like
Hide Copy Code
if {DataTable1.DataColumn1} ="YES" then if {DataTable1.col1} = {DataTable1.DataColumn2} /// DataTable1.col1= J4+"\n\n"+J3 then /// here i stored location which i want to bold in DataTable1.DataColumn2 crRegular else crBold else crRegular
when i use this formula it show all bold
How can i do this....
Thanks !
Hi Try:
if {DataTable1.DataColumn1} = "YES" AND {DataTable1.col1} = {DataTable1.DataColumn2} then
'<b>' & {Column} & '</b>'
else
{column}
Drag and drop this formula field on the report > Right-click and select format field > Paragraph tab > Under 'Text Interpretation' set 'HTML Text'.
-Abhilash
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
i'm doing Employee OT Report, here i want bind OT location where they work like DayLocation1, NightLocation2, so i add new line like (DayLocation1 \n\n NightLocation2) it bind in crystal report like
DayLocation1
NightLocation2 (in same column name (DataTable1.col1))
and i just check one condition DataColumn1="DayLocation1" (if true i want bold DayLocation1) at the same time if(DataColumn1="NightLocation1"), if true i want bold NightLocation2
if it not clear i ll attach image...
User | Count |
---|---|
82 | |
9 | |
9 | |
7 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.