Check out the following sample database for an example such as you describe and many others detailed below.
Microsoft Access 2000 Sample Reports
30 Sample Reports available for download which include dynamically sorting and filtering your data, creating complex totals, faxing reports, printing custom labels, customizing page layout, and many more.
http://support.microsoft.com/default...b;EN-US;231851
It has some great examples in it for the beginner, and even the ânot soâ beginner. Below is a list of topics within the database:
Draw Vertical Lines in a Section that Can Grow
Setting Filter, FilterOn from a Popup Form
Setting OrderBy, OrderByOn from a Popup Form
Keeping a Subreport or Text Box Together
Setting the Filter Property to a Form's Filter Property
How to Reference Parameters in Reports
How to Create Fixed-Scale Charts in Reports/Forms
How to Print Blank Line Every Nth line in a Report
Using HasData When Referencing a Subreport Control
How to Repeat Group Header in a Report
Creating a Top Values Per Group Report
How to Print Odd or Even Pages of a Report
How to Print Line Number for Each Record/Group on Report
How to Use Automation to Print Reports
How to Fill Text Boxes on a Report Using Visual Basic
How to Sum a Column of Numbers in a Report by Page
How to Create a Table of Contents or Index for a Report
How to Print a Constant Number of Lines Per Group
How to Shade Every Other Detail Line on Reports
How to Specify a Custom Starting Page Number for a Report
Converting Numbers to Words for Check Writing
Eliminating White Space in Reports with CanShrink & Code
How to Make Empty or Null OLE Object Not Appear on Report
Send Fax through MSFax using Code Example
How to Skip Used Mailing Labels and Print Duplicates
How to Create a Top 10 Report
How to Use Visual Basic Code to Collate and Print Two Reports
Page Header That Spans Full Width of Multi-Column Report
How to Repeat a Subreport's Header When Subreport Spans Multiple Pages.
Send Fax through WinFax using Code Example
Regards,
Beth M