This interactive demo was created free with Storylane in 2 minutes. Create your own demo
This interactive demo was created free with Storylane in 2 minutes. Create your own demo
Start free
All Tutorials /MS Access

How to Add Conditional Page Breaks MS Access

Updated on:
May 12, 2026
By:
Madhav Bhandari
Use this interactive demo to learn how to set up conditional page breaks in MS Access reports.

Quick summary

Conditional page breaks in MS Access let you control where pages split in a report based on custom logic written in VBA. By attaching code to a section's On Format event, you can programmatically show or hide a page break depending on your data conditions.


Steps

  1. Open the database containing your report.
  2. In the Form Design tab, find the Controls group and select the Page Break control.
  3. Click on the desired location in your report to place the page break.
  4. Open the Property Sheet by clicking the Form Design tab and selecting Property Sheet.
  5. Select the Event tab in the Property Sheet.
  6. In the On Format event of the section, click the "..." button to open the VBA editor.
  7. Add VBA code to show or hide the page break conditionally.
  8. Save your changes by clicking the save icon.

📌 Why this matters

Conditional page breaks in MS Access give report designers precise control over how multi-page reports are structured, ensuring that sections and records are printed on the correct pages based on real data conditions. Without this feature, Access reports rely on fixed page breaks that cannot adapt to variable record lengths or business logic, leading to poorly formatted printouts. By using the On Format event and VBA to toggle page break visibility, developers can automate report pagination without manual intervention. This approach is essential for any organization that generates professional, data-driven reports directly from an Access database.
Your product deserves an interactive demo
Start free
Similar Articles
MS Access

How to Integrate a Microsoft Excel Database with Excel

Madhav Bhandari
Director of Marketing @ Storylane
MS Access

How to Integrate Google Calendar with an MS Access Database

Madhav Bhandari
Director of Marketing @ Storylane
MS Access

How to Integrate Google Sheets with an MS Access Database

Madhav Bhandari
Director of Marketing @ Storylane
No items found.
Platform
Interactive Demos
Sandbox Demos
Buyer Hub
RepX
Integrations
Solutions
Product Marketers
Growth & Demand Gen
Sales Reps & AEs
Presales & SEs
Customer Success
Product Managers
Customers
Demo Showcase
Customer Stories
Finer Demos Club
Features
Demo Signals
Personalization
Deal Intelligence
Resources
Blog
The Plot
Tutorials
Events & webinars
Help Docs
What’s New
Demo Dundies
Company
Careers
Pricing
Partners
Contact
Trust Center
Backed by
Chrome Extension Icon
Chrome extension
Download
Desktop app
Download
Built in San Francisco Bay Area - ©2026 Storylane
Privacy PolicyTerms & Conditions
X Corp (formerly Twitter)LinkedIn
This website uses cookies to ensure you get the best experience on our website. Learn More
Got it
This website uses cookies to ensure you get the best experience on our website. Learn More
Got it