This is more complicated. You would have to place the crosstab in the report footer. In the main report, insert a group on your row field, which I will assume is a string. Then create formulas like this:
//{@diff}:
{table.revenue}-{table.remit}
//{@moyrarray} to be placed in the monthyear group footer:
whileprintingrecords;
stringvar array x;
numbervar i := i + 1;
if sum({@diff},{@monthyear}) <> 0 then (
redim preserve x;
x := {@monthyear}
);
Then on the crosstab, highlight the row label, the rev and remit summaries all at once->right click->format field->borders->color->background->x+2 and enter:
whileprintingrecords;
stringvar array x;
if gridrowcolumnvalue("@MonthYear") in x then
cryellow else
crnocolor
You should replace @MonthYear with the name of your row field, replacing the curly brackets with ". Make sure that the row field and the group field in the main report are the same. I did test this, so it should work for you.
If you can't group on the row field for some reason, insert the crosstab in a subreport so you can. You can suppress the group and detail sections.
-LB