Objective 7. Print a Query

Queries are created to answer questions and to create information from the data contained in the tables. Often queries are used to create reports; however, query results can be printed in a manner similar to tables and other database objects.

Activity 2.12. Printing a Query

1.

Be sure your 2A Uncollected Pledges query is open in the Datasheet view. On the Query Datasheet toolbar, click the Print Preview button to see how the query will look when it is printed. Click at the top center of the page to enlarge the view, and then compare your screen with Figure 2.25.

Figure 2.25.

Because you added your name to the query name, your name displays at the top of the page. Todays date displays at the top right side of the page.

2.

Check your Chapter Assignment Sheet or Course Syllabus, or consult your instructor, to determine whether you are to submit the printed pages that are the results of this project. If you are submitting your files electronically, go to the next step. If you are submitting your work on paper, on the Print Preview toolbar, click the Print button to print your 2A Uncollected Pledges query.


[Page 995]

3.

Close the Print Preview window, and then click the Close Window button to close the query. If prompted to save changes to the query, click Yes.

The Database window displays and your 2A Uncollected Pledges query is included in the list of queries. You have now created three queries and printed one.

More Knowledge: Print Layout

Changing Margins or Orientation

Queries are printed in portrait orientation with one-inch margins all around, the same default settings that are applied to tables. To print in landscape orientation, or to adjust the margins to ensure that all the data displays on one page horizontally, display the Page Setup dialog box and adjust the settings. A Page Setup button displays on the Print Preview toolbar, or you can display the Page Setup dialog box from the File menu. Changes made in the Page Setup dialog box are not retained when a table or query is saved and closed. Each time you print, you must check the orientation and margins to ensure that the data will display as you intended.

[Page 995 (continued)]

Категории

© amp.flylib.com,