Create a formula like this:
whileprintingrecords;
stringvar array dupe;
numbervar i;
if not (totext({table.number},0,"")+" "+{table.string} +" "+
totext({table.date},"MM/dd/yyyy") in dupe) then
(
i := i + 1;
(
if i < 1000 then (
redim preserve dupe;
dupe:= totext({table.number},0,"")+" "+{table.string} +" "+
totext({table.date},"MM/dd/yyyy")
)
)
);
Since I don't know the field types you need to adjust the fields in the formula as noted above.
Place this in both the report header AND in the detail_b section which you need to insert. Then suppress the detail_b section.
Then go to the section expert->detail_a->color tab and enter:
whileprintingrecords;
stringvar array dupe;
if totext({table.number},0,"")+" "+{table.string} +" "+
totext({table.date},"MM/dd/yyyy")in dupe then
cryellow else
crnocolor
These formulas will only work for up to 1000 unique values of the concatenated strings. Might be enough for your situation without changing the selection formula.
-LB