Print Page | Close Window

Report_ShowNoDataSubReports.mdb

Printed From: Roger's Access Library
Category: Other Download Libraries
Forum Name: Tejpal, A.D.
Forum Description: A.D. Tejpal's Library
URL: www.rogersaccesslibrary.com/forum/forum_posts.asp?TID=50
Printed Date: 20 Oct 2017 at 6:44am


Topic: Report_ShowNoDataSubReports.mdb
Posted By: A.D. Tejpal
Subject: Report_ShowNoDataSubReports.mdb
Date 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: http://www.rogersaccesslibrary.com/forum/uploads/37/Report_ShowNoDataSubReports.zip -




Print Page | Close Window