Have to click on report to show sub report

A

accesshacker

Hello,

I have to click on the Report in view to display my sub-report. In my sub I
have several logos that are linked .bmp(s) based on criteria from a form,
this determines wich logos to display. I have the code in the sub reports
Report 'Load' property. When I go to 'View' in the sub report, the logos
display fine.

Not sure why I have to click on the Main Report to display the sub.

Appreciate any insights. Thanks
 
A

Allen Browne

Try moving the code into the Format event of the Report Header section in
the subreport.

The Load event was new in A2007, and so is less tested/reliable. Also, some
events don't fire in all views (Report, Layout.)
 
A

accesshacker

Allen,

Thank you for the suggesstion. The logos are showing up just fine now.
Greatly appreciate the quick response. Was a real head scratcher for me.
 

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