Solved

Subform Header seperating from details

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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Suggested Solutions

Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
Familiarize people with the process of utilizing SQL Server views from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Access…
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 …

777 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