473,473 Members | 2,073 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

How to add a page break to a report once it has too many items

91 New Member
Right now I have an invoice report than works fine for < 10 items on the order, but once there is more it will have the header on the first page with some of the items, then the rest of the items on the second with the footer at the bottom. (the report only has one header and one footer no matter how many pages)

All items are in the detail section, header and footer information are in appropriate positions.

How I want it to be is: each page has a header and footer, then all the items show up in the detail section. Once there is say 8 items or more it will insert a page break. Seems like access should do this automatically as this is the logical way if you have a header and footer.


I know you can insert a page break then activate it in code but i'm not sure exactly how to do this.

Thanks
Jun 24 '10 #1
2 2432
gershwyn
122 New Member
A report header will only appear once, and adding page breaks isn't going to help that. What you want to do is create a page header instead. Move everything that you have in the report header to page header, and do the same for the report footer. (You may need to right click to show the pager header/footer. I'm not sure which version of Access you're on.)

Page headers and footers should behave how you'd expect them to, and Access should take care of where the page breaks should occur for you.
Jun 24 '10 #2
matt753
91 New Member
Awesome thats just what i was looking for, I've done that before when i've made reports, thats why I thought this was just automatic.
Jun 24 '10 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Sachin | last post by:
I am trying to develope a small RTF writer to generate project report at runtime, with a limited RTF writing capability. RTF by default is only one page document, untill we intentionally put page...
0
by: Sachin | last post by:
I am trying to develope a small RTF writer to generate project report at runtime, with a limited RTF writing capability. RTF by default is only one page document, untill we intentionally put page...
3
by: Barbara Alderton | last post by:
I recently wrote an ASP.NET app that used user controls. I produced a printer-friendly output form. One requirement was a pagebreak between one part of the form and another. I had no problem...
0
by: Simon | last post by:
Dear reader, In a report you have the possibility to place an icon "Page break". In case I have a report within the report a sub report and in the sub report the icon "Page break" the page...
4
by: Rico | last post by:
Hello, I'm looking for a way to force a pagebreak in code. I'm having a tough time, the first page formats properly until the condition is met and then forces a new page. The problem is, every...
1
by: Daniele | last post by:
I have to create a report, that contains in the section body a list of record. For every record it has to appear an incremental additional field that begins from One; when he reaches the record...
1
by: tngoe | last post by:
I haven't programmed in Access for five years. The budget analyst asked me for help. Her report has page break after each group of organization. However, when posting this report on e-print...
1
by: Simon | last post by:
Dear reader, Is there some VBA code to place or remove a page break on the bottom of the report header section? In some cases only the header section of the report has to be printed in...
1
by: billa856 | last post by:
Hi, I have one project in MS Access. In that I have one form in which I am using one combobox and one search button. Now when I select an item from that combobox and press the submit button then...
0
by: hadspqn | last post by:
Hello, I'm using Data report in VB6. In report it shows all records and it takes page break at its own. I wish to set page break in VB code after particular number of records say 10 records. so...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.