How to insert page break after change in detail section on a report?

josh_m

Board Regular
Joined
Mar 26, 2009
Messages
81
so you know how in excel when you do the subtotals wizard you can insert a page break after each change in a field...I basically want to do that in an access report (access 2007). In the detail section I have a field for "Stores" which can have anywhere from 2 to 50 records per store. I want a page break inserted after each change in store. I am hoping this is simple, I just can not find a thread that quite addresses this issue and can't figure it out on my own.
thanks,
Josh
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
Open report in design view with properties window open, select detail section, on properties - format tab - change "Force New Page" to "After Section". This should give a new page for each Store.
 
Upvote 0
thanks so much for replying, i did try that and the result was each record became its own page, rather than grouping records by store like I had hoped.
 
Upvote 0
Sorry. I did not test well.

I assume the report sorted by store. Go into design mode and click "Group and Sort" on Design tab to show the sorting on the bottom. Click "More" on that sort line, change "without a footer section" to "with a footer section". That will add a "Store Footer" below the Detail section assuming the sort or Group is called "Store". Then insert a "Page Break" from the "Controls" section in that footer.

I tested this on a report I had that sorted by date and it grouped all of the same dates on one page.
 
Upvote 0
thanks, I have not tried that. I noticed when trying your first suggestion there was another option for "before selection" and that forced the report to display only one store's data per page. thanks for you help
 
Upvote 0
I have find out one way to get resolve this issue.
1. First If you have not define any group header/footer then define it
2. If you require your page to be break afetr the group then you must need to define your group footer either if it is of zero height or with not field in it
3. Select the group footer by clicking on it and then set the property "Force New Page" = "After Section" this will definitely work for you

Note that this could be done in the same manner if you desire to have the page break before the group details then select the group header insted on group footer and do the same

Regards
Aryan
 
Upvote 0
Aryan,

I have been struggling with this issue for 2 days. Thank you so much for your answer. It solved my problem! :laugh:
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,327
Members
452,635
Latest member
laura12345

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top