Home Case Studies MS Office Tips and Tricks Sample Code Helpful Videos Custom Development  Custom Training Join Us Contact Us
Search Our Site:  

Keep Titles And Data Together in Access Reports

If you run large reports, you’ve probably run into a problem where the title of a group or subgroup appears all by itself at the bottom of a page, and the data associated with it appears without a title on the next page. It looks really stupid and makes the report very hard to read. The ability to keep titles and text together in Microsoft Word is called Widow and Orphan control. In Access reports it’s called Keep Together.

In report design view, you can click on the Sorting and Grouping Icon below circled in yellow, or you can right-click anywhere on the report and choose Sorting and Grouping from the pop-up menu. You should see the dialog box below.

 

Choose the section you’d like to modify (in the picture above we’re changing the Owner section) and then go to the Keep Together section circled in red. The Whole Group setting will attempt to put the title and all of the associated data on one page, the With First Detail setting will put one or two lines of data on the same page as the title, and the rest on the next page.
Do be careful with this! While it’s nice to have all of your data display together, a simple innocent change like the one above can turn a 30 page report into a 100 page report! Consider for a moment how this setting works:
  1. You keep a title with the whole dataset by placing the title at the top of the page
  2. You keep the title at the top of the page by inserting a Page Break at the bottom of each section
  3. More Page Breaks = more white space (wasted space) at the bottom of each page
  4. More white/wasted space per page = more pages!
It’s not unusual to double or triple the size of your reports by using the Whole Group setting, so do a Print Preview first!
 
Please share your comments on this article!

 
Name (opt)
Email Address (opt)
Your Questions/
Comments

I Get It! Development does not share your email address or other information, nor do we add you to any mailing lists unless you specifically request to be added by checking the box below.



SEE ALSO
You may also find the following articles useful:

Spreadsheet vs. Database

Bound vs Unbound Forms

Subqueries In Access

Excel - Access Import Problems

Columns In Access

SQL In Access

Spreadsheet View (Access)

SQL Cross Join In Access

Access To Excel And Back

VBA Functions In Access

Ssheets vs Dbase Round 2

Control Your Data!

Compact/Repair In Access

Parameter Queries

Dropdown Box Tips In Access

References

Journal of Accountancy Articles

Tweaking The Numbers

Block That Spreadsheet Error

Excel Security Issues


 

Clients

Do you need help with Microsoft Office? Contact us

See how we've helped companies like yours develop effective business processes

Client Success Stories


 

Consultants

I Get It! Consultants set their own hours, work with their own clients, and choose their own projects.

If you're a Microsoft Office guru and would like to explore being a full-time consultant, please see our consultant information pages.