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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cross Tab - Back Ground Colour 1

Status
Not open for further replies.

saran26

Programmer
May 20, 2008
173
US
Hi All,

I have a summary field in cross tab, called "Effort".

I have an additional field in the table called "Status". Is it possible to change the back ground colour of the effort based on the status field.

I tried the following in the back ground x-2 with out any success.

Please help me out.

if {ClearQuest.monthlyeffort_status} = "1" then crRed else crYellow

Thanks
Saran
 
How is the crosstab set up (rows, columns, summaries)? Is the monthlyeffortstatus field used in the crosstab somewhere?

-LB
 
Yes LB .

It was set it up as (rows, Columns and Summaries)

I did try to include the monthly effort status field as a summary field and change the back groud.

But it changes only for that field. Is it possible to change the selected row based on the status field.

Please let me know.

Thanks
 
I am asking you to identify the row, column and summary fields.

-LB
 
OK here it is

Row Field is ClearQuest.name

Column fied is ClearQuest.Monthly Effort

Summary field 1 is Max of @effort (it is a formula field)

Summary field 2 is Max of ClearQuest.MonthlyEffortStatus

Thanks

Saran
 
Reverse the order of the summary fields, and then select the summary of the effort status field in preview mode->right click->format field->suppress->x+2 and enter:

whileprintingrecords;
stringvar status := currentfieldvalue;
false

Then select the {@effort} summary->right click->format field->borders->color->background->x+2 and enter:

whileprintingrecords;
stringvar status;
if status = "1" then
crRed else
crYellow

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top