Roger's Access Library Homepage
Forum Home Forum Home > Other Download Libraries > MS Access MVP Libraries > Tejpal, A.D.
  New Posts New Posts RSS Feed - Report_ShowNoDataSubReports.mdb
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Please consider donating $1 per sample downloaded, (find out why here)


 Post Reply Post Reply
A.D. Tejpal View Drop Down
Microsoft MVP
Microsoft MVP

Joined: 30 Jun 2008
Status: Offline
Points: 192
Post Options Post Options   Thanks (0) Thanks(0)   Quote A.D. Tejpal Quote  Post ReplyReply Direct Link To This Post Topic: Report_ShowNoDataSubReports.mdb
    Posted: 07 Jul 2008 at 10:40pm
The sample db demonstrates display of subreport header even when there is no 
matching data in the subreport.

It involves use of a wrapper query incorporating a left join between the master & 
child linked fields.

Care is also needed to suppress unwanted portions (e.g. detail section as well as 
the column header labels / lines etc in the header section) of a subreport with no 
matching data.

If page break after the subreport is required, it would be desirable to implement it 
via VBA code instead of depending upon the setting in properties dialog box, so as 
to prevent redundant blank page at the very end. This feature too is covered in the 
sample db.

Download Access 2K/XP/2K3: uploads/37/


Back to Top
Sponsored Links

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.03
Copyright ©2001-2019 Web Wiz Ltd.