January 4, 2010

Coloring row fields for an IFIELD object in crystal report


coloring a particular field in crystal report... we must be thinking programatically coloring an IFIELD(database) object is pretty difficult thing to do... its very simple...
STEP 1:
Rght click the IFIELD object name EMPID -> clck format editor -> border -> background -> click on formula editor ->
if {DataTable1.EMPID} <> "" then
cryellow else
crnocolor

if employeeid is not a null field , it highlights the field with yellow, else it gives no color.
below is the example image

No comments:

Post a Comment