Solved

Subform Header seperating from details

Posted on 2011-03-03
5
219 Views
Last Modified: 2012-05-11
I have a subform on a report and depending on the amount of data on the main form, the subform header is sometimes fitting on the first page but bumping the details of the subform on the 2nd page.  

Is there a property that I could set on the subform to ensure that the form header stays on the same page as the subform details?  
0
Comment
Question by:gcgcit
  • 3
5 Comments
 
LVL 57

Accepted Solution

by:
Jim Dettman (Microsoft MVP/ EE MVE) earned 500 total points
ID: 35029609
<<Is there a property that I could set on the subform to ensure that the form header stays on the same page as the subform details?   >>

  No.  Only thing you can do is in the OnFormat event see how far down the page you are.  If too far, then make a page break visible.

  Or through the Group header properties, you could just automatically do a page break before the header prints.

JimD.
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 35029871
Could you use a Report for this?

Reports are made for printing and you have much more control over the output...
0
 

Author Comment

by:gcgcit
ID: 35030599
Sorry it is on a report... I meant to type subreport above.
0
 

Author Comment

by:gcgcit
ID: 35030608
I have a report with multiple subreports.
0
 

Author Closing Comment

by:gcgcit
ID: 35030733
Put pagebreak above that subreport.
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Introduction When developing Access applications, often we need to know whether an object exists.  This article presents a quick and reliable routine to determine if an object exists without that object being opened. If you wanted to inspect/ite…
A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now