Introduction
By the end of this lesson, you should be able to:
-
Run contact management database reports
-
Create a report using AutoReport
-
Create a report using the Report Wizard
Running contact management reports
The contact management database contains two reports you can use: An
alphabetical contact listing report
to print a complete list of contacts in the database and a
weekly call summary report
to recap phone call summaries made between any two dates.
To run an alphabetical contact listing report:
-
On the Main Switchboard form, click once on the
Preview Reports
menu selection.
-
On the reports switchboard, click once on the
Preview the Alphabetical Contact Listing Report
menu selection.
-
The report is displayed.
The contact management reports can also be run in
Datasheet view
by selecting the
Reports
tab from the
Objects
palette of the database window, then double-clicking the
Alphabetical Contact Listing
report.
Running contact management reports
To run a weekly call summary report:
-
On the Main Switchboard form, click once on the
Preview Reports
menu selection.
-
On the reports switchboard, click once on the
Preview the Weekly Call Summary Report
menu selection.
-
In the Weekly Call Summary dialog box, type the date range in the
Begin Call Date
and
Ending Call Date
fields. This lets you search the database for calls made between two defined dates.
-
The report is displayed.
Creating a report using the Report Wizard
Another way to create reports in Access is to use the
Report Wizard
. The Report Wizard asks a series of questions, and Access uses your responses to create the report.
To create a report using the Report Wizard:
-
Open the
database window
and choose the
Reports
option from the
Objects
palette.
-
Click the
New
button to open the
New Reports
dialog box.
-
Click the
Report Wizard
selection.
-
Click the drop-down list and choose the
table
or
query
on which the report or query is based.
-
Click
OK
to begin the
Report Wizard
.
Creating a report using the Report Wizard
In the Report Wizard's first dialog box:
-
Choose the
table
or
query
in which you would like to base the report.
-
Highlight the first field from the
Available Fields
that will be included in the report, and click the right arrow to move the field to the
Selected Fields
box.
-
Repeat until each field is included in the report, or click the double arrow to move all fields for the report.
-
Click
Next
.
In the Report Wizard's second dialog box, you can select a field name for grouping purposes. For example, by selecting First Name, notice how First Name becomes the group header (blue text) on the right side of the picture. You do not have to select any grouping levels.
-
Highlight the field you want to use as a group level, and click the right arrow to move the field to the
Selected Fields
box.
-
When you're finished or to bypass this screen, click
Next
.
Creating a report using the Report Wizard
In the Report Wizard's third dialog box, you can specify how or if the reports are to be sorted on the report. For example, if you wanted to show names alphabetically and by state, you would first sort by state and then by last name.
-
In the first field (optional), select a field name from the drop-down box only if records in the report are to be sorted by that field. Then click the button to define whether records are to be sorted in ascending or descending order.
-
If necessary, repeat for each of the remaining three sort fields.
-
When you're finished or to bypass this screen, click
Next
.
In the Report Wizard's fourth dialog box:
-
Select one of the three listed
layout
options: columnar, tabular, or justified.
-
Select an
orientation
for the report, either portrait or landscape.
-
If you want, select or deselect the
Adjust the field width so all fields fit on a page
field.
-
Click
Next
to continue.
Creating a report using the Report Wizard
In the Report Wizard's fifth dialog box:
-
Click through the different
format options
displayed on the screen—Bold, Casual, Compact, etc.—to display a picture of each report format on the left side of the wizard screen. Highlight the desired format you want to use.
-
Click
Next
to continue.
In the Report Wizard's sixth dialog box:
-
Assign a name to the report by typing a file name in the
What title do you want for your report?
field.
-
Click
Finish
to complete the wizard and generate the report.
You can decide to include any or all of the Report Wizard's selections in your report.
Very Important!
When working in tables, forms, queries, and reports, use the New Object button on the toolbar to create new
database objects
(tables, forms, queries, and reports).
Challenge!
-
Open
the Contacts table in Datasheet fiew and
print
all records in the table.
-
Open
the Calls table in Datasheet view and
print
all records in the table.
-
Open
the Contact Types table in Datasheet view and
print
all records in the table.
-
Open
the
main
switchboard
form.
-
Run an
alphabetical contact listing report
and
print
the completed report.
-
Run a
weekly call summary report
and
print
the completed report.
-
Create a report using
AutoReport
:
-
Create a
columnar
report against the
Calls
table.
-
Print
the completed report.
-
Close
the report and click
No
in response to the
Do you want to save changes to the design of report 'Report1'?
system prompt.
-
Create a report using the
Report Wizard
:
-
Select the
Calls
table.
-
Select the following
fields
in the Calls table: Contact ID, Call Date, Subject, and Notes.
-
Do not add any grouping levels.
-
Do not define any sorting.
-
Keep the
layout
and
orientation
default settings.
-
Pick a
style
of your choosing.
-
When prompted to
name
the report, call it
Job Search Progress
.
-
Print
the completed report.