Using a subform in a report

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?
 
G

Gary Miller

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
 
J

Jeff

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top