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
- Open the database containing your report.
- In the Form Design tab, find the Controls group and select the Page Break control.
- Click on the desired location in your report to place the page break.
- Open the Property Sheet by clicking the Form Design tab and selecting Property Sheet.
- Select the Event tab in the Property Sheet.
- In the On Format event of the section, click the "..." button to open the VBA editor.
- Add VBA code to show or hide the page break conditionally.
- Save your changes by clicking the save icon.
.gif)



