T
Terry
John,
Leave both subreports on the main report and in the
section's "on format" event turn the visible property of
the undesired report off.
HTH
Terry
(i.e. "Field1"). If Field1 contains a 1, I want the
source of the report to be "rpt1". If it contains a 2, I
want the source of the subreport to be "rpt2". How can I
do this using VBA?
Leave both subreports on the main report and in the
section's "on format" event turn the visible property of
the undesired report off.
HTH
Terry
that contains a certain field for each detail record-----Original Message-----
I have a main report with a subreport. The main report
(i.e. "Field1"). If Field1 contains a 1, I want the
source of the report to be "rpt1". If it contains a 2, I
want the source of the subreport to be "rpt2". How can I
do this using VBA?