You are on page 1of 24

Database Project Step 1

1. Start a new database


Database Project Step 1
2. Import/insert Excel table into your database
Database Project Step 1
3. First row is column heading
Database Project Step 1
4. Pick the primary key as the SN-> Next and Finish
5. Do the same think for all the Excel tables in the folder
Database Project Step 2

• Create forms for all the tables


Database Project Step 2
• Add new records to your table, three new projects, three new
clients and three new time card records.
Database Project Step 3
• Create the main switchboard
• Create all the sub-switchboards and add buttons to add/edit forms and exit
the submenu
Database Project Step 4

• Set the switchboard to be your main startup window-> from


the Microsoft button click the Access Option
Database Project Step 4

• Then find the current database tab


• Set the display form to the Switchboard
Database Project Step 5
• Create the queries, using a parameter query
• Retrieve project by project number/ project client/ county
Database Project Step 6
• Create relationships between tables
• Write queries that use this relationships for example get all the projects that
were initiated by a specific client
Database Project Step 7

• Perform sophisticated queries


Database Project Step 7

• Perform sophisticated queries, for example a window query


( >[MINIMUM NORTHING?] And <[MAXIMUM NORTHING?] ) :
Database Project Step 7

• Perform sophisticated queries, for example a query to obtained


the number of hour an employee worked:
Database Project Step 8
• Show diagram of relationships in your report
Database Project Step 9
• Create queries with the Like command and Wildcard sign
• Like [Type the first letters of the person] & "*"
Database Project Step 10
• Create queries with arithmetic functions in the query design check the
Total button to add another row. Set this row to a function like sum or
average
Database Project Step 11

• Open a form in design view, add text boxes and change the design
Compress your database and submit it

Right click on the database file, select winzip, and add to…
Writing a report
• Cover page with name, date, course name
and title of the lab
• Introduction
• Briefly explain all the steps in creating a
database
• Explain your queries (at least 10)
• Explain the relationships
• Conclusion
Database Project Step 11
• Create queries which are displayed as forms
• Create form in design view, add text boxes and two buttons (find
record and close), set the labels and the captions save form as
Find_Project

• Create form project using wizard that has all the fields
Database Project Step 11
• Create two Macros, Close Form

• And Form Find_Project, select OpenForm, and set the where for
the proper query (use Or, Like etc.)
Database Project Step 11
• Use the expression builder to create a query that compares a table value to the form text
element for example
• [Projects]![Project_ID]=[Forms]![Find_Project]![Text0] Or [Projects]![Name]=Forms!
[Find_Project]![Text2]

• Link the buttons in the form find project to the Macros. By right clicking on the button
and setting in the properties the on-click to the Macro.
• Save and run the form

You might also like