Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Reports / Printing / May 2005

Tip: Looking for answers? Try searching our database.

Stop a subreport from printing

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
robert demo - 30 May 2005 18:59 GMT
I have a report with a subreport.  Before displaying this report from my
application, I allow the user to select what they would like to display on
the report.  Printing of the subreport is optional.

I'm using the following code:

If PrintProfileProposalFlag = True Then
   Me.SubReport1.Visible = True
Else
   Me.SubReport1.Visible = False
End If

The subreport currently prints on the last page of the report.  When the
flag is set to false, the subreport is not displayed, but a blank page
still prints.

How do I suppress the printing of this last page when the flag is set to
false?

Thanks.
Ofer - 30 May 2005 19:27 GMT
Set the "can shrink" property of the sub report , and the section here the
sub report is in, to true.

> I have a report with a subreport.  Before displaying this report from my
> application, I allow the user to select what they would like to display on
[quoted text clipped - 16 lines]
>
> Thanks.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.