I'm still a bit confused.
Here's my logic flow in VBA
Enter values into Form.
Press button which executes the following code:
Create Arrays
Create Tables
rpt.openreport(,Template)
rpt.CreateReportControl(...Header)
rpt.CreateReportControl(...Detail)
rpt.CreateReportControl(...Footer)
OpenReport rpt, Preview
In the table I have a column which flags a row as a special row. When the report is being generated as a preview, where do I add the code display a line for the special rows? Do I put it in the template, if so, where, or can I create a function when I generate the report code?
Sorry if I did not define the problem better earlier.
Thanks!
Mel