Hi...
I am writing a report that contains a subreport. On my main report, one report page is one row of data from "TableMain". At the bottom of the page is the subreport, which displays 1 line of data per row from "TableSub" (like a 'continuous form', but not sure what it is called for reports).
If fields contain certain values, I hightlight them. I check for these values, and print '**' if necessary. This works on the 'Main' page. But for the subreport, all lines print according to the first row on that page. For example, if the first row of data on a page is highlighted, the second row will be highlighted, too, even if data should not be. And if the first row is not highlighted, second row will not be, even if it should be.
I had the highlighting logic for the subreport in the Detail_Format event of the main report's module. Is this incorrect? Where should it be? I tried putting it in the Detail_Format event of the subreport, but cannot figure out how to reference it.
Can someone please help on this. It's so small, but taking me so long to figure out...
THANK YOU!
Lori
I am writing a report that contains a subreport. On my main report, one report page is one row of data from "TableMain". At the bottom of the page is the subreport, which displays 1 line of data per row from "TableSub" (like a 'continuous form', but not sure what it is called for reports).
If fields contain certain values, I hightlight them. I check for these values, and print '**' if necessary. This works on the 'Main' page. But for the subreport, all lines print according to the first row on that page. For example, if the first row of data on a page is highlighted, the second row will be highlighted, too, even if data should not be. And if the first row is not highlighted, second row will not be, even if it should be.
I had the highlighting logic for the subreport in the Detail_Format event of the main report's module. Is this incorrect? Where should it be? I tried putting it in the Detail_Format event of the subreport, but cannot figure out how to reference it.
Can someone please help on this. It's so small, but taking me so long to figure out...
THANK YOU!
Lori