Presentation is loading. Please wait.

Presentation is loading. Please wait.

CPSC 203 Introduction to Computers Lab 23 By Jie Gao.

Similar presentations


Presentation on theme: "CPSC 203 Introduction to Computers Lab 23 By Jie Gao."— Presentation transcript:

1 CPSC 203 Introduction to Computers Lab 23 By Jie Gao

2 3 June 2003CPSC 203 Lab by Jie Gao Queries in Access A query in Access is used to filter records and fields A query in Access is used to filter records and fields Only the fields and records which match the query are returned Only the fields and records which match the query are returned The data in a querys view is from some table The data in a querys view is from some table

3 3 June 2003CPSC 203 Lab by Jie Gao Create a Query Two ways: Wizard or Design View Two ways: Wizard or Design View Query Wizard can only create simple queries such as select part of the fields to display Query Wizard can only create simple queries such as select part of the fields to display Query Design View provides you the powerful interface to create various queries Query Design View provides you the powerful interface to create various queries

4 3 June 2003CPSC 203 Lab by Jie Gao Query Design View Select tables which your query is from Select tables which your query is from Select fields or define new fields to display in the query Select fields or define new fields to display in the query Set criteria Set criteria Use the expression builder Use the expression builder =, >,, <, … and, or, … and, or, …

5 3 June 2003CPSC 203 Lab by Jie Gao Reports in Access A report is an object in Access used to present data in a printed format A report is an object in Access used to present data in a printed format Data presented in a report is more understandable than the original data in tables Data presented in a report is more understandable than the original data in tables You have control over the size and appearance of everything included in a report You have control over the size and appearance of everything included in a report

6 3 June 2003CPSC 203 Lab by Jie Gao Create a Report Two ways in Access: Wizard or Design view Two ways in Access: Wizard or Design view It is easy to create a report in wizard, but only some predefined format It is easy to create a report in wizard, but only some predefined format Design view is more powerful, you can design the report style by yourself Design view is more powerful, you can design the report style by yourself

7 3 June 2003CPSC 203 Lab by Jie Gao Using the Report Wizard Select Select Fields to appear in the report Fields to appear in the report How to group the records if you have multiple fields selected How to group the records if you have multiple fields selected How to order the records and summaries How to order the records and summaries Layout Layout Style Style Name Name

8 3 June 2003CPSC 203 Lab by Jie Gao Using the Report Design View Add fields on it Add fields on it Decide how to group Decide how to group Design headers and footers (report, page, group) Design headers and footers (report, page, group) Set font and size Set font and size Background and colors Background and colors …… ……

9 3 June 2003CPSC 203 Lab by Jie Gao Create a Good Report Maybe a good way: Maybe a good way: First create in wizard First create in wizard Then modify in design view Then modify in design view Provide sufficient descriptions for the report Provide sufficient descriptions for the report Title Title Date Date Description and comments Description and comments

10 3 June 2003CPSC 203 Lab by Jie Gao Assignment 3 Create a data table Create a data table Create a columnar form Create a columnar form Create three reports Create three reports You may need to create some queries first to get the data which will appear in the reports You may need to create some queries first to get the data which will appear in the reports Use different fonts and size to make your report better Use different fonts and size to make your report better Deliverable: the three reports Deliverable: the three reports Remember your cover page Remember your cover page


Download ppt "CPSC 203 Introduction to Computers Lab 23 By Jie Gao."

Similar presentations


Ads by Google