Using a subform in a report

  • Thread starter Thread starter Jeff
  • Start date Start date
J

Jeff

I have a form that I want to display on my report. I have created a subform
within the report and it is displaying the form, although...the form has
commands that take place in the "on Load" event. These commands draw
graphics, Lines text etc...The graphics dont show on the report. I think the
onload events are not being executed during the report load. What is the
problem?
 
The problem may be that you should probably be using a
SubReport to be imbedded on a Report, instead of a SubForm
which should be imbedded on a Form.

Gary Miller,
Sisters, OR
 
Gary, thanks for the reply. I have taken all the coding from my form and
pasted it into a subreport..I changed the data in the "FormLoad" event to
the "ReportOpen" event. Everything works great except, the graphice seem to
draw very slow in the report. Is this normal? It only takes about 3 seconds
in the report, but the same coding in the form executes much faster. Maybe
there is something I am doing wrong, or maybe I am too pickey. Non the less,
can you tell me why this different?
 
Back
Top