Assignment 1

advertisement
Advanced Access 2007 Project 1 [Dating]
1.
Create two tables in the design view for a dating service using different qualities that you would
record about each client. The first table should contain a matchmaker code [5 characters text],
name, and phone [with input mask]. The second table should contain the client code [auto
number], matchmaker code, [linking the 2 tables] and field names for personal information e.g.
sex, DOB, ethnicity, eye color, likes, dislikes, picture, etc. Use personality as well as physical
traits and whatever else you find important for the second table.
2.
Make sure to have a minimum of 15 field names for the second table. The second table should not
contain any fields [except for the matchmaker code] from the first table. It should contain numeric,
text, date, yes/no, OLE, currency, lookup wizard and memo fields. Use a lookup wizard to get the
matchmaker code.
3.
Specify the correct data type for each field name like number, text, date, yes/no and memo. Put in
the appropriate properties for each entry such as the input mask, default values, formatting,
validation rules, etc.
4.
Use the form wizard to create forms for both tables. Add a picture of the person to the second
table. Make sure the picture fits in the space provided by changing the size property of the picture
to zoom.
5. Add at least 14 entries to table 2 and 3 entries to table 1 using the forms. The 3 matchmakers
service the 14 clients and is a one to many relationship.
6.
Create 3 queries based on your table, one of which should be as if you yourself were the client
choosing whatever fields you may want. You must use ‘and’ and ‘or’ conditions, calculated fields
and wildcards. Include in the output of each query the phone number of the matchmaker from the
first table. Create a form for the query that has a calculated field and change the tab stop to NO
for the computed field. Place a title on the form.
7. Using the wizard, create reports based on the results of your queries. You should indicate for each
report the query’s requirements in the report title. Modify the reports in the layout view to
improve the look of the report. All reports should be in tabular form.
8. Using the wizard, create another report but this time base it on your original tables and select all
the fields [except the picture]. Add any grouping levels that would enhance the report. Make sure
to use the layout view and landscape orientation to let all columns be visible. Make up a title for
your report. All reports should be in tabular form.
9. Create macros to view each form, table and report.
10. Print 2 forms for one client and one matchmaker [one for each table] and 5 reports [for the 3 queries
and 2 tables] for submission. At least one report should have grouping and sorting. [7 pages total].
DATABASE ASSIGNMENT 2 Inventory
CREATE A DATABASE WITH THE FOLLOWING 3 TABLES:
1. Consultant table—consultant [auto number, primary], first name, last name, social security number
[input mask], gender, skill level, hourly wage, supervisor, and picture.
2. Supervisor table—supervisor [3 character text, primary], first name, last name, phone [input mask]
3. Skill level table—as below Skill level [2 character text, primary] and 5 yes/no fields.
Skill level
Word
1
X
1A
X
2
X
2A
Excel
Access
PowerPoint
Outlook
X
X
X
X
X
3
X
X
X
X
X
3A
X
X
X
4
X
X
X
X
5
X
X
X
X
X
X
X
4. Create forms for all 3 tables and populate the consultant table with 15 consultants. Add a picture to
several consultants and allow the form to show the picture. Change the tab order for the consultant
form so that the last name is before the first name.
5. Create a query to show the names of all consultants and corresponding supervisor’s name and
phone that know Access and Excel AND another query to show the names of all consultants and
corresponding supervisor’s name and phone that know Access or Excel
6. Create an update query which will increase the wage of all consultants that know Access by $1.29
per hour and create another update query which will increase the wage of all consultants that know
both Excel and Outlook by $0.97 per hour.
7. Create a crosstab query to show the average hourly salaries by gender and skill level.
8. Create a query to show the number of consultants in each skill level and another one to show the
number of consultants managed by each manager.
9. Create reports for all tables and queries. Print the form one consultant in the consultant table and
all reports with appropriate titles. Use conditional formatting to show all salaries over $20.00 per
hour in bold italics.
10. Create a Supervisor form with a consultant subform using the design view
11. Create macros to view each form and table and for one report.
4/22/10
Download