Download - Access2007 ia
![Page 1: Access2007 ia](https://reader038.vdocuments.pub/reader038/viewer/2022103001/5584aeecd8b42a125c8b5064/html5/thumbnails/1.jpg)
Percy K. Parakh
Computer Training Coordinator – CDEChSCC
![Page 2: Access2007 ia](https://reader038.vdocuments.pub/reader038/viewer/2022103001/5584aeecd8b42a125c8b5064/html5/thumbnails/2.jpg)
What is a Database? What is a Database Management System? How do we use MicroSoft Access to create a
simple Database.
![Page 3: Access2007 ia](https://reader038.vdocuments.pub/reader038/viewer/2022103001/5584aeecd8b42a125c8b5064/html5/thumbnails/3.jpg)
Describe databases & database management systems
Start Access Describe the features of the Access Screen. Create a Database. Create a table.
![Page 4: Access2007 ia](https://reader038.vdocuments.pub/reader038/viewer/2022103001/5584aeecd8b42a125c8b5064/html5/thumbnails/4.jpg)
Define the fields in a table. Open a table. Add records to an empty table. Close a table. Close & open a database. Use a form to view data. Create a graph.
![Page 5: Access2007 ia](https://reader038.vdocuments.pub/reader038/viewer/2022103001/5584aeecd8b42a125c8b5064/html5/thumbnails/5.jpg)
A database is a collection of data organized in a manner that allows access, retrieval, and use of that data.
Ex. A Rolodex which keeps track of Names, Addresses, and Phone Numbers, is a simple example of a manual database.
![Page 6: Access2007 ia](https://reader038.vdocuments.pub/reader038/viewer/2022103001/5584aeecd8b42a125c8b5064/html5/thumbnails/6.jpg)
A Database Management System, allows you to use a computer to create a database.
With the computer you can (electronically) create, add, change, and delete data in the database, retrieve data using Queries, and create Forms and Reports.
![Page 7: Access2007 ia](https://reader038.vdocuments.pub/reader038/viewer/2022103001/5584aeecd8b42a125c8b5064/html5/thumbnails/7.jpg)
Spreadsheet Software allows users to add, subtract & perform user defined calculations on rows & columns of numbers.
Spreadsheets are more geared towards numeric data, whereas Databases work with Data that contains info. like Names, Addresses, Soc. Security #’s etc.
![Page 8: Access2007 ia](https://reader038.vdocuments.pub/reader038/viewer/2022103001/5584aeecd8b42a125c8b5064/html5/thumbnails/8.jpg)
Tables Records Fields Primary Key
![Page 9: Access2007 ia](https://reader038.vdocuments.pub/reader038/viewer/2022103001/5584aeecd8b42a125c8b5064/html5/thumbnails/9.jpg)
A table is a collection of data about a particular subject. For Ex. a Movie table contains info. about movies like Movie No., Movie Title, Year Made, Movie Type etc.
RECORDS are simply the ROWS in the table. FIELDS are the COLUMNS in the table.
![Page 10: Access2007 ia](https://reader038.vdocuments.pub/reader038/viewer/2022103001/5584aeecd8b42a125c8b5064/html5/thumbnails/10.jpg)
Movie Movie Title Year Movie Length Nom Awar Dire001 Amy Mason 1978 DRAMA 92 5 4 01002 Breakdown 1965 SUSPEN 92 4 0 04003 Dancing Duo 1972 COMEDY 137 3 1 04004 The Dirty 1960 WESTER 137 1 0 03007 The Brass 1949 DRAMA 82 0 0 03008 Wild Willie 1970 WESTER 108 3 1 03010 Murder and 1979 COMEDY 96 3 1 01
Each COLUMN in the tableis a FIELD
Each ROW in the table is a RECORD
![Page 11: Access2007 ia](https://reader038.vdocuments.pub/reader038/viewer/2022103001/5584aeecd8b42a125c8b5064/html5/thumbnails/11.jpg)
A RECORD in the MOVIE Table contains information about a specific MOVIE.
Ex. Record Number 003 contains specific information on the movie Dancing Duo.
![Page 12: Access2007 ia](https://reader038.vdocuments.pub/reader038/viewer/2022103001/5584aeecd8b42a125c8b5064/html5/thumbnails/12.jpg)
A FIELD contains a specific piece of information within a RECORD.
Ex. The Movie Title field contains specific information about the Title of the Movie.
![Page 13: Access2007 ia](https://reader038.vdocuments.pub/reader038/viewer/2022103001/5584aeecd8b42a125c8b5064/html5/thumbnails/13.jpg)
The first field in the MOVIE table is the MOVIE NUMBER. This is a code assigned by the owner to each MOVIE.
These numbers are unique; that is no two movies will be assigned the same number.
Such a field can be used as a UNIQUE IDENTIFIER. Ex. Soc-Sec-No.
This is called the PRIMARY KEY.
![Page 14: Access2007 ia](https://reader038.vdocuments.pub/reader038/viewer/2022103001/5584aeecd8b42a125c8b5064/html5/thumbnails/14.jpg)
Click on Start, Programs,Microsoft Office, MicrosoftOffice Access 2007
![Page 15: Access2007 ia](https://reader038.vdocuments.pub/reader038/viewer/2022103001/5584aeecd8b42a125c8b5064/html5/thumbnails/15.jpg)
1) Click, Blank Database
2) Name it Movies.accdb
3) Click, Create
![Page 16: Access2007 ia](https://reader038.vdocuments.pub/reader038/viewer/2022103001/5584aeecd8b42a125c8b5064/html5/thumbnails/16.jpg)
![Page 17: Access2007 ia](https://reader038.vdocuments.pub/reader038/viewer/2022103001/5584aeecd8b42a125c8b5064/html5/thumbnails/17.jpg)
1) Right Click, select RenameColumn
![Page 18: Access2007 ia](https://reader038.vdocuments.pub/reader038/viewer/2022103001/5584aeecd8b42a125c8b5064/html5/thumbnails/18.jpg)
1) Rename fieldas Movie Number
2) Press theDown Arrowkey
4) Type in Movie Title and so on…..
3) Data Type,Text
![Page 19: Access2007 ia](https://reader038.vdocuments.pub/reader038/viewer/2022103001/5584aeecd8b42a125c8b5064/html5/thumbnails/19.jpg)
Data Type forYear Made – Number
![Page 20: Access2007 ia](https://reader038.vdocuments.pub/reader038/viewer/2022103001/5584aeecd8b42a125c8b5064/html5/thumbnails/20.jpg)
Data Type,Number
The rest of the fieldsHave a Data Type ofText
![Page 21: Access2007 ia](https://reader038.vdocuments.pub/reader038/viewer/2022103001/5584aeecd8b42a125c8b5064/html5/thumbnails/21.jpg)
Save the Table and call it Movies The Movies Table will show up in the left
pane
![Page 22: Access2007 ia](https://reader038.vdocuments.pub/reader038/viewer/2022103001/5584aeecd8b42a125c8b5064/html5/thumbnails/22.jpg)
1) Saved as Movies: Table
2) Click on View toToggle to Design View
![Page 23: Access2007 ia](https://reader038.vdocuments.pub/reader038/viewer/2022103001/5584aeecd8b42a125c8b5064/html5/thumbnails/23.jpg)
We will delete the bogus Primary key i.e. the ID #
We will make the Movie Number the Primary Key, by clicking on the Primary Key Button
![Page 24: Access2007 ia](https://reader038.vdocuments.pub/reader038/viewer/2022103001/5584aeecd8b42a125c8b5064/html5/thumbnails/24.jpg)
Click on the Primary Key row, and press Deleteon the keyboard
![Page 25: Access2007 ia](https://reader038.vdocuments.pub/reader038/viewer/2022103001/5584aeecd8b42a125c8b5064/html5/thumbnails/25.jpg)
Click onYes
![Page 26: Access2007 ia](https://reader038.vdocuments.pub/reader038/viewer/2022103001/5584aeecd8b42a125c8b5064/html5/thumbnails/26.jpg)
1) Click on Movie NumberField
2) Click on Primary Key
![Page 27: Access2007 ia](https://reader038.vdocuments.pub/reader038/viewer/2022103001/5584aeecd8b42a125c8b5064/html5/thumbnails/27.jpg)
1) Movie Numberis now the Primary Key
2) Close and Save the table
![Page 28: Access2007 ia](https://reader038.vdocuments.pub/reader038/viewer/2022103001/5584aeecd8b42a125c8b5064/html5/thumbnails/28.jpg)
Start entering Records, use the Tab key to movefrom one field to the next, or click in field with your mouse and type
![Page 29: Access2007 ia](https://reader038.vdocuments.pub/reader038/viewer/2022103001/5584aeecd8b42a125c8b5064/html5/thumbnails/29.jpg)
Click on the Create tab, click on Table Create the fields in the Director Table just as
before (Movie Table) Save the Table as Director Click on View to flip to Design View As before delete the bogus Primary Key
![Page 30: Access2007 ia](https://reader038.vdocuments.pub/reader038/viewer/2022103001/5584aeecd8b42a125c8b5064/html5/thumbnails/30.jpg)
Make the Director Number as the Primary Key
Change the field width to 2. Save the Table by clicking on Close button on
the table. Type in all the records in the Director Table
![Page 31: Access2007 ia](https://reader038.vdocuments.pub/reader038/viewer/2022103001/5584aeecd8b42a125c8b5064/html5/thumbnails/31.jpg)
1) Click onCreate Tab
2) Click onTable ( to create aNew Table)
![Page 32: Access2007 ia](https://reader038.vdocuments.pub/reader038/viewer/2022103001/5584aeecd8b42a125c8b5064/html5/thumbnails/32.jpg)
2)Click on Rename Column
1) Right ClickOn Add NewField
![Page 33: Access2007 ia](https://reader038.vdocuments.pub/reader038/viewer/2022103001/5584aeecd8b42a125c8b5064/html5/thumbnails/33.jpg)
1) Type inDirector Code
![Page 34: Access2007 ia](https://reader038.vdocuments.pub/reader038/viewer/2022103001/5584aeecd8b42a125c8b5064/html5/thumbnails/34.jpg)
![Page 35: Access2007 ia](https://reader038.vdocuments.pub/reader038/viewer/2022103001/5584aeecd8b42a125c8b5064/html5/thumbnails/35.jpg)
1) Save AsDirector
2) Click on View, to flipTo Design View
![Page 36: Access2007 ia](https://reader038.vdocuments.pub/reader038/viewer/2022103001/5584aeecd8b42a125c8b5064/html5/thumbnails/36.jpg)
Click and Press Delete
![Page 37: Access2007 ia](https://reader038.vdocuments.pub/reader038/viewer/2022103001/5584aeecd8b42a125c8b5064/html5/thumbnails/37.jpg)
![Page 38: Access2007 ia](https://reader038.vdocuments.pub/reader038/viewer/2022103001/5584aeecd8b42a125c8b5064/html5/thumbnails/38.jpg)
1) Click inRow selector
2) Click onPrimary Key
![Page 39: Access2007 ia](https://reader038.vdocuments.pub/reader038/viewer/2022103001/5584aeecd8b42a125c8b5064/html5/thumbnails/39.jpg)
Type inall the records
![Page 40: Access2007 ia](https://reader038.vdocuments.pub/reader038/viewer/2022103001/5584aeecd8b42a125c8b5064/html5/thumbnails/40.jpg)
![Page 41: Access2007 ia](https://reader038.vdocuments.pub/reader038/viewer/2022103001/5584aeecd8b42a125c8b5064/html5/thumbnails/41.jpg)
![Page 42: Access2007 ia](https://reader038.vdocuments.pub/reader038/viewer/2022103001/5584aeecd8b42a125c8b5064/html5/thumbnails/42.jpg)
Here’s a SplitForm
![Page 43: Access2007 ia](https://reader038.vdocuments.pub/reader038/viewer/2022103001/5584aeecd8b42a125c8b5064/html5/thumbnails/43.jpg)
![Page 44: Access2007 ia](https://reader038.vdocuments.pub/reader038/viewer/2022103001/5584aeecd8b42a125c8b5064/html5/thumbnails/44.jpg)
Here is theMovies Form
![Page 45: Access2007 ia](https://reader038.vdocuments.pub/reader038/viewer/2022103001/5584aeecd8b42a125c8b5064/html5/thumbnails/45.jpg)
We have learnt what is a Database. What is a Database Management System. We have learnt that RECORDS are essentially
ROWS in a table. And FIELDS are essentially COLUMNS in a table. A PRIMARY KEY is simply a field used as the
Unique Identifier.
![Page 46: Access2007 ia](https://reader038.vdocuments.pub/reader038/viewer/2022103001/5584aeecd8b42a125c8b5064/html5/thumbnails/46.jpg)
Create a Table Save a Table Add Records to a Table Modify Tables in Design View Create a Split Form