Sub-report does not appear on main report

warwica

New member
Local time
Today, 09:05
Joined
Sep 3, 2002
Messages
6
I have a sub-report which does not appear in the main report when I use the On Format event for the detail of the sub-report.

If I open the sub-report on its own with the On Format event then it works Ok and formats the sub-report detail as I want it to.

If I remove the On Format event and open the main report then the sub-report does appear but obviously is not formatted as I want it.

Is it not possible to format a sub-report in this way ?
:confused:
 
Look around in Help for info on the order of events with reports, I have found it in there somewhere. I don't recall offhand the exact order of events, but you may be trying to close the barn door after the horses have escaped.

HTH
 
I've taken the code out of the sub-report and put it in the format event of the main report and it now seems to work.

Looks like I need to learn more about events.
 

Users who are viewing this thread

Back
Top Bottom