Solved

Subform Header seperating from details

Posted on 2011-03-03
5
255 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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
In earlier versions of Windows (XP and before), you could drag a database to the taskbar, where it would appear as a taskbar icon to open that database.  This article shows how to recreate this functionality in Windows 7 through 10.
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

685 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