Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Change Column BAckGround

Status
Not open for further replies.

198311

IS-IT--Management
Mar 2, 2006
26
DE
hello,
How Can I change column's background when name of this column is work ??

bye,
 
and where put in this formula ?? :)
 
I don't think there is such thing as column Background, beside columns are kind of static in a report unless you are using Cross Tabs.
You could add a box which could be placed from the header of your work column and cross over the detail section of the same column, right click format the box to be filled with the colour of your choice.
If this does apply, could you post some more infos regarding your report, also version of CR and Database


-Mo
 
hello,

I have CR 10 and this is a CrossTab :)

bye
 
One option is to right clik on both the header and value fields and add a formula on the format fields>border background color

if {table.field}<>'Work' then
blue
else
crnocolor

then right click crosstab expert and customize style

uncheck the show cell margin, this will give the impression of a column coloured


-Mo
 
In a crosstab, you would need to right click on an inner cell->format field->border->color->background->x+2 and enter:

if gridrowcolumnvalue("table.colfield") = "Work" then
crYellow else crNocolor

Substitute your column field for "table.colfield" and replace the curly brackets with double quotes.

-LB
 
Or you can use the Highlighting Expert to do it for you by right click onthe desired cell and add the formula there


-Mo
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top