Download presentation
Presentation is loading. Please wait.
Published byMercy Copeland Modified over 9 years ago
1
CPSC 203 Introduction to Computers Lab 23 By Jie Gao
2
5 Jun 2003CPSC Lab by Jie Gao Notice According to Mr Deur’s e-mail to me, there is no lab on 5 Jun, Thursday. So this set of slides is for you to go over what I planned to talk by yourself I’m sorry for the inconvenience, but I received Mr Deur’s e-mail on Tuesday evening and I could not have told you in the lab.
3
5 Jun 2003CPSC Lab by Jie Gao More Tricks in Reports (1) Sometimes, if you create a report from the wizard, you can find some of the columns are not wide enough – the text is truncated. You need to fix it manually in the design view Select the report icon in Access, then click the “design” button; Or when the report is open, click the first button “view” on the toolbar. Find the corresponding label and textbox in the design view, and resize them.
4
5 Jun 2003CPSC Lab by Jie Gao More Tricks in Reports (2) If you want a title like “More than $7.00” for your report, you will find it is impossible to give such a title in the report wizard. Because this title is also used as the report’s name in Access and the period “.” is not allowed in reports’ names. To fix this problem, you have to first give a title without “.”, then go to the design view to modify the title label. There you can give any title you like.
5
5 Jun 2003CPSC Lab by Jie Gao More Tricks in Reports (3) If you are not satisfied with the report created directly by the wizard, you have to modify it by hand. The only way available is the same as the previous ones: modify it in the design view.
6
5 Jun 2003CPSC Lab by Jie Gao Assignment 3 You need to create the following things in Access: A table A form Some queries Three reports And you need to hand in ONLY the three reports.
7
5 Jun 2003CPSC Lab by Jie Gao Assignment 3 The reports should be given proper titles. E.g. “All the Students in Ascending Order of ID”, and “Students Starting Work after 01/01/94” Pay attention to the criteria: “more than” stands for “>”. So “more than 7” does not include 7. “After …” has similar meaning. You should NOT include this date.
8
5 Jun 2003CPSC Lab by Jie Gao Assignment 3 Check your table to see if you have assigned proper data types for the fields, say, “Start Date” should use “Date/Time”, and “Wage Rate” should use “Currency” or “Number” (and change the format to real or double). If they are using “text”, you may get wrong result in the reports. Because for text type, the comparison is made character by character. Thus “7”>“55”.
9
5 Jun 2003CPSC Lab by Jie Gao Assignment 3 In the reports, you should include all fields, because the requirement does NOT let you show only part of them. Finally check again if you mistakenly use descending for ascending orders, or vice versa.
10
5 Jun 2003CPSC Lab by Jie Gao Midterm Exam Date: 5 June, Thursday Time: 6:00 p.m. Location: ICT 102 Please prepare pencils
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.