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: 28 Mar 2024 at 1:32pm
Software Version: Web Wiz Forums 12.03 - http://www.webwizforums.com


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

Forum Software by Web Wiz Forums® version 12.03 - http://www.webwizforums.com
Copyright ©2001-2019 Web Wiz Ltd. - https://www.webwiz.net