SlideShare une entreprise Scribd logo
1  sur  40
Database Management System
MS Access
What Is a Database?
• Collection of data organized in such a way
that data can be searched, modified, added,
removed efficiently
• Database System: database in digitized
form
• Database Management System (DBMS)—
software system to manipulate database—
add, remove, modify, search
Relational Database
• All data items are organized by tables.
– E.g., in School DB, tables for
• Students (firstName, lastName, phone, email)
• Faculties (firstName, lastName, phone, officeNo.)
• Courses (department, crsNumber, title, credits)
• Classes (time, location, course, classNum)
• Schedule (student, class)
• Buildings(bldgName, hasElevator, hasADA)
• Rooms (roomNo, building, capacity, hasInternet)
Students Table
firstName

lastName

phone

email

Anne

Anderson

123-4568

aa@aol.com

Ben

Benson

234-5678

bb@gmail.com

Cathy

Carson

345-6789

cc@att.net

Dan

Danson

456-7890

dd@hotmail.com

Erin

Emmerson

567-8901

ee@aol.com

Frank

Farrington

678-9012

ff@sam.net
Linking Tables
Rooms

Classes

Students

Buildings

Courses

Schedules
Faculty
MS Access
• Organized into Objects
– Table
• Contains data—most important
– Form
• For easier input of data
– Report
• For formatted printout
– Query
• For asking particular info from multiple tables
Introduction to MS Access (1.1)
• Objectives
– To Open existing database
– To add a record
• 1. Use Windows Explorer to copy
Bookstore.mdb from g to a drive.
• 2. Open a DB (Bookstore.mdb in a drive) &
Add a record
• 3. Open a table
– move from record to record
– move from field to field (Tab)
Adding New Records
• 5. Add a New Record
– Record 1
• 0-13-754243-7
• Exploring Microsoft Office 97 Volume I, Grauer/Barber 1997
• $45, Prentice Hall

• 6. Add a Second Record
– Record 2
• 0-13-271693--3
• Exploring the Inter/2nd Ed
• $28.95, Prentice Hall
• 8. Print the Table
– FilePage SetupPage tabLandscape
option. Click OK.
– FilePrintAll option. OK.

• 9. Exit Access
– Close the Table
– Close the Database
– Close Access
Manipulating Records and Fields
• Replacing fields
• Sorting records
Maintaining the Database (1.2)
•
•
•
•

Add, edit, delete record
Examine Form
Examine a Report
Print a Report
• 1. Retrieve Bookstore db.
• 2. Double-click Books table.
–
–
–
–
–

Click in Title field
EditFind
Enter Exploring Windows 95 in the Fid What text box.
Click the Find Next button.
Change it’s price to $28.95.

• 3. Edit->Undo Current Field/Record
• 4. Delete Command
– Click a Guide to SQL.
– Delete the record. (Deletion is not Undo-able.)
• 5. Data Validation
– New Record.
– Enter the following:
• 0-07-041127-1, Getting Ahead by Getting Certified, Martinez,
1998, xxxx. (39.90), McGraw Hill.

• 6. Open the Books Form
– Forms buttonBooks form. Maximize
• Add Record button. Add the following
• 1-56604-229-1, HTML Publishing on the Internet, Budnick,
Mendana PressThe Replace Command

• 7. Replace Command
– ViewDatasheet View
– Ctrl+Home.
– EditReplace.
• Find What: Prentice-Hall
• Replace with: Prentice Hall
• Look in: Publisher
• 8. Print a Report
– Reports buttonPublisher report
• Type Pretice Hall in the parameter dialog box.
– Zoom boxFit
– Print Preview
– Print
Changing Field Properties
• Field size (Text)
• Caption
• Required
Creating a Table (2.1)
• A particular table should contain all
information on a particular subject.
– Book, student, employee, customers, catalog
product, warehouse inventory, automobile
inventory, bibliography, investment portfolio,
etc.

• What type of information do you want to
maintain in a table?
Two-Step Process
• To create a Student table
– 1. Define a table structure (in Design View)
•
•
•
•
•
•
•
•
•
•

SSN
FirstName
Address
City
State
Postal Code
Phone
BirthDate
FinancialAid
Credits

Text
Text
Text
Text
Text
Text
Text
Date
Logical (Yes/No)
Number

– 2. Input data items (in Datasheet View)
Using Table Wizard
to Create Table
• 1. Create a a New Database
– Run Access. Click option button Blank Access
Database.
– In the Save In text box, select drive a:
Go to folder Exploring Access.
Save new file as My First Database.
– Click the Create button.
• 2. Create the Table
– In the database window (My First Database), click the
Tables button.
– Click the New button (at the top). Select Table Wizard.
Click OK.

• 3. The Table Wizard
– In the Table Wizard, click Business option button. In
the Sample Tables list box, select Students (near the
bottom).
– Transfer StudentID, FirstName, LastName, Address,
City, & StateOrProvince.
– Rename StateOrProvince to State.
– Add PostalCode and PhoneNumber.
• 4. The Table Wizard (continued)
–
–
–
–
–
–

Accept Students as the Name of the Table
Accept Yes, set a primary key for me.
Click Next.
Click Modify the table design.
Click Finish.
FileSave

• 5. Add Additional Fields
–
–
–
–
–

In the design view, enter BirthDate as a new field.
Change Data type to Date/Time.
Add Gender as Text field.
Add Credits as Number field.
Add QualityPoints as Number field. (NB. No space in
field name)
• 6. Change the Primary Key
–
–
–
–
–

Point to first field. Right-clickInsert Rows.
Enter SSN for field name.
In the Properties area, select Yes for Required box.
Click SSN field, click Primary Key button.
Click StudentID field. Right-clickDelete Rows.

• 7. Add an Input Mask
– Click in SSN. Click the Input Mask box in the
Properties area.
– Click the Build button (at right)
– Select Social Security Number.
– Try it by type 123456789.
– Select BirthDate, show Input Mask, and choose Short
Date format. Say Yes to Save.
• 8. Change the Field Properties
– Click FirstName.
• In the Properties area, change size to 25.
• In the Required box, choose Yes.
– Click the State field.
• Change size to 2
• In the Format box, type >
– Click the Credits field
• Change Field Size to Integer.
• In the Default Value box, delete 0.
– Click the QualityPoints
• Change Field Size to Integer.
• Delete 0 from the Default Value.
• Save the table.
• 9. Add a Validation Rule
– Click Gender field.
• Change size to 1.
• In the Format box, type >.
• Click the Validation Rule box. Type “M” or “F”. (This means that
only M or F will be acceptable.)
• In the Validation Text box, type “You must specify M or F.”
• Save.

• 10. Datasheet View
–
–
–
–

Click the View button.
Type 111111111 for SSN in the first record.
Enter, to move to FirstName field. Enter Ronnie Adili.
Enter the following (P AC-64)
• 111-11-111 Ronnie, Adili, 3543 Queen Avenue, Minneapolis, MN
55476-9899 (612)445-7654
• 22222222 Christoper Gibson, 9807 S.W. 152 Street, Miami, FL
33157-232, (305)235-4563
• 333333333, Nicholas, Korba, 85 Bayshore Drive,
San Francisco, CA, 94114-5533, (415)664-0900

• 11. Enter Additional data
– Enter two more records, deliberately making
mistakes in Credits, S in Gender.

• 12. Print the Table
– FilePrint
– Close
Two-Step Process (2)
• To create an Employee table
– Define a table structure (in Design View)
•
•
•
•
•
•
•
•
•
•

EmployeeID
FirstName
Address
City
State
Postal Code
WorkPhone
DateHired
Married
Deductions

Text
Text
Text
Text
Text
Text
Text
Date
Logical (Yes/No)
Number

– Input data items (in Datasheet View)
Adding Fields
• Click Design View button.
• Insert new row after HomePhone.
• Add WorkPhone (Text)
Adding (and Changing) the
Primary Key
• Primary key makes each record unique in a table.
• Try to choose a field that is naturally unique for
each record.
–
–
–
–

SSN for Employee record
ISBN for Book record
Call number of a library book
Sales number

• or, create a field of unique numbers
(AutoNumber)
Adding an Input Mask
• To format certain data items automatically
–
–
–
–
–

SSN
telephone number
ZIP
Date
Time
Report Wizard (3.1)
• 1. Open the Our Students Database
– Click Reports buttonNewReport Wizard

• 2. ReportWizard
– Click LastName, FirstName, PhoneNumber, & Major

• 3. Report Wizard (cont)
–
–
–
–
–
–
–

Sort by LastName
Tabular layout
Portraait orientation
Adjust field width so all fields fit on a page. Next
Corporate. Next
Title: Student Master List
Finish
• 4. Preview the Report
– Preview at 75%. Close

• 5. Modify an Existing Control
– Click the border on containng the Now function from
the footer to the header.
– Align right (with button on toolbar)
– Right-clickPropertiesFormat tabFormat
propertyShort Date
– Save

• 6. Add an unbound control
– Crate label in footer.
– Type: Prepared by your name.
– Right-click-PropertiesFont SizeFont Size9
• 7. Change the Sort Order
–
–
–
–

ViewSortingand Grouping.
In Field Expression box, click Major
On the next line, click LastName
View

• 8. View the Modifed Report
– Print Preview
– Save. Print

• 9. Report Properties
–
–
–
–

Click Report button on the database window.
Select Student Master List.
Right-clickPropertiesDescription text box
Type: This report lists every student in alphabetical
order by name within major. It also contains the
student’s telephone number.
Creating a Query
• Query
• lets user to ask questions
• allows user to choose a subset of table that satisfy
certain conditions

• Given Students table
• How many are from California?
• Who are majoring in Business?
• Who are from California AND majoring in Business?
USA Table
• The fields in the USA table are:
– Name
– Capital
– Nickname
– Year established
– Population
– Area
– Region (Pacific, Mountain, New England, South
Central, North Central, Middle Atlantic
Queries
•
•
•
•
•

States in the Pacific region
States in the Pacific OR New England region
States with a population over 5,000,000
States established since 1900
States established before 1900 AND having a
population over 5,000,000
• States established in the 1800’s
• States established in the 1700’s
Queries on Students
• List all Business Majors
• List Business Majors from Florida
• List Communications Majors Receiving Financial
•
•
•
•

Aid
All Students from Florida
Engineering Majors with Fewer than 60 Credits
Students with 60 to 90 Credits
Engineering Majors with Fewer than 60 Credits or
Communicaitons Majors Born on or after April 1,
1974
Creating a Select Query (3.2)
• 1. Open Our Students database
– QueriesNew
– Design View is open

• 2. Add the Students Table
– Select Students tableAddClose. Maximize. Expand the
upper portion.

• 3. Create a query
– Drag LstName field from Students table to the first column.
– Drag FirstName, PHoneNUmber, Major, and Credits to the
QBE grid.
– Adding & Deleting fields
• 4. Specify the Criteria
– To display all UNDECIDED majors:
• In Criteria row for Major, type Undecided
• In Sort under LastName field, select Ascending
• Save
• Type Undecided Major as the Query name. Click OK.

• 5. Run the Query
– QueryRun (Run button)

• 6. Modify the Query
–
–
–
–
–

To display all UNDECIDED majors with more than 30 credits
Uncheck Show check box in the Major field
In Criteria row under credits, type >30.
Save.
Run
• 7. Create a Report
–
–
–
–
–
–
–

Open Our Students Database
Click Reports buttonCreate report by using Wizard
Tables/Queries list boxQuery: Undecided Major
Click >> button. Next.
Next, Next
Tabular layout, Portrait orientation, Soft Gray.
Title: Undecided Major. Finish

• 8. View the Report
– Place date in the header.
– Place your name in the footer.
Other Queries
• All students from California or Florida
• All Business students from Florida
• All Education students from California or
Florida
• All Education students with credits over 30
• All Education students with credits between 30
and 60

Contenu connexe

Tendances

Training MS Access 2007
Training MS Access 2007Training MS Access 2007
Training MS Access 2007crespoje
 
Microsoft Office Introduction
Microsoft Office IntroductionMicrosoft Office Introduction
Microsoft Office IntroductionAnitha Rao
 
Components and Advantages of DBMS
Components and Advantages of DBMSComponents and Advantages of DBMS
Components and Advantages of DBMSShubham Joon
 
Microsoft Access 2007
Microsoft Access 2007Microsoft Access 2007
Microsoft Access 2007Reshma Arun
 
Relational Database Management System
Relational Database Management SystemRelational Database Management System
Relational Database Management SystemMian Abdul Raheem
 
MS Access teaching powerpoint tasks
MS Access teaching powerpoint tasksMS Access teaching powerpoint tasks
MS Access teaching powerpoint tasksskomadina
 
Database Design
Database DesignDatabase Design
Database Designlearnt
 
An introduction to microsoft office 2007 lecture
An introduction to microsoft office 2007 lectureAn introduction to microsoft office 2007 lecture
An introduction to microsoft office 2007 lectureSukh Sandhu
 
Ms access Database
Ms access DatabaseMs access Database
Ms access DatabaseYasir Khan
 
Fundamentals of Database system
Fundamentals of Database systemFundamentals of Database system
Fundamentals of Database systemphilipsinter
 
Database design process
Database design processDatabase design process
Database design processTayyab Hameed
 
Database systems
Database systemsDatabase systems
Database systemsDhani Ahmad
 

Tendances (20)

Training MS Access 2007
Training MS Access 2007Training MS Access 2007
Training MS Access 2007
 
SQL Views
SQL ViewsSQL Views
SQL Views
 
Ms access 2010
Ms access 2010Ms access 2010
Ms access 2010
 
MS EXCEL
MS EXCELMS EXCEL
MS EXCEL
 
Data Validation
Data ValidationData Validation
Data Validation
 
Microsoft Office Introduction
Microsoft Office IntroductionMicrosoft Office Introduction
Microsoft Office Introduction
 
Ms access
Ms accessMs access
Ms access
 
Components and Advantages of DBMS
Components and Advantages of DBMSComponents and Advantages of DBMS
Components and Advantages of DBMS
 
Microsoft Access 2007
Microsoft Access 2007Microsoft Access 2007
Microsoft Access 2007
 
Introduction to ms access database
Introduction to ms access databaseIntroduction to ms access database
Introduction to ms access database
 
Mail Merge in Microsoft Word
Mail Merge in Microsoft WordMail Merge in Microsoft Word
Mail Merge in Microsoft Word
 
Database management system
Database management system Database management system
Database management system
 
Relational Database Management System
Relational Database Management SystemRelational Database Management System
Relational Database Management System
 
MS Access teaching powerpoint tasks
MS Access teaching powerpoint tasksMS Access teaching powerpoint tasks
MS Access teaching powerpoint tasks
 
Database Design
Database DesignDatabase Design
Database Design
 
An introduction to microsoft office 2007 lecture
An introduction to microsoft office 2007 lectureAn introduction to microsoft office 2007 lecture
An introduction to microsoft office 2007 lecture
 
Ms access Database
Ms access DatabaseMs access Database
Ms access Database
 
Fundamentals of Database system
Fundamentals of Database systemFundamentals of Database system
Fundamentals of Database system
 
Database design process
Database design processDatabase design process
Database design process
 
Database systems
Database systemsDatabase systems
Database systems
 

Similaire à Access introduction

Microsoft access exercises
Microsoft access exercisesMicrosoft access exercises
Microsoft access exercisessarahandaiza
 
BBA 2 Semester DBMS All assignment
BBA 2 Semester DBMS All assignmentBBA 2 Semester DBMS All assignment
BBA 2 Semester DBMS All assignmentRoshan Kumar
 
M0DULE 1-MS ACCESS Databases and Database Objects.pdf
M0DULE 1-MS ACCESS Databases and Database Objects.pdfM0DULE 1-MS ACCESS Databases and Database Objects.pdf
M0DULE 1-MS ACCESS Databases and Database Objects.pdfJoshCasas1
 
Access advanced tutorial
Access advanced tutorialAccess advanced tutorial
Access advanced tutorialcatacata1976
 
Product Supplier59,58,8,2.50CIS 3100 - Database Desig.docx
Product Supplier59,58,8,2.50CIS 3100 - Database Desig.docxProduct Supplier59,58,8,2.50CIS 3100 - Database Desig.docx
Product Supplier59,58,8,2.50CIS 3100 - Database Desig.docxstilliegeorgiana
 
CIS 3100 - Database Design and ImplementationScoring Rubric.docx
CIS 3100 - Database Design and ImplementationScoring Rubric.docxCIS 3100 - Database Design and ImplementationScoring Rubric.docx
CIS 3100 - Database Design and ImplementationScoring Rubric.docxmccormicknadine86
 
Tableau Data Connections
Tableau Data ConnectionsTableau Data Connections
Tableau Data ConnectionsQEdge Tech
 
OPERATE DATABASE APPLICATION
OPERATE DATABASE APPLICATIONOPERATE DATABASE APPLICATION
OPERATE DATABASE APPLICATIONYoomiLaataBekele
 
Advanced database
Advanced databaseAdvanced database
Advanced databasenasir1024
 
Web Application Development using PHP Chapter 6
Web Application Development using PHP Chapter 6Web Application Development using PHP Chapter 6
Web Application Development using PHP Chapter 6Mohd Harris Ahmad Jaal
 
David Carnes Wellington Salesforce Community june 10 2020 reports and dashb...
David Carnes Wellington Salesforce Community june 10 2020   reports and dashb...David Carnes Wellington Salesforce Community june 10 2020   reports and dashb...
David Carnes Wellington Salesforce Community june 10 2020 reports and dashb...Anna Loughnan Colquhoun
 
5.1 Creating a Form Using AutoForm
5.1 Creating a Form Using AutoForm5.1 Creating a Form Using AutoForm
5.1 Creating a Form Using AutoFormPyi Soe
 
5 Designing Form
5 Designing Form5 Designing Form
5 Designing FormPyi Soe
 

Similaire à Access introduction (20)

Uses of MS Access in Business
Uses of MS Access in BusinessUses of MS Access in Business
Uses of MS Access in Business
 
Topics-Ch4Ch5.ppt
Topics-Ch4Ch5.pptTopics-Ch4Ch5.ppt
Topics-Ch4Ch5.ppt
 
Topics-Ch4Ch5.ppt
Topics-Ch4Ch5.pptTopics-Ch4Ch5.ppt
Topics-Ch4Ch5.ppt
 
Microsoft access exercises
Microsoft access exercisesMicrosoft access exercises
Microsoft access exercises
 
BBA 2 Semester DBMS All assignment
BBA 2 Semester DBMS All assignmentBBA 2 Semester DBMS All assignment
BBA 2 Semester DBMS All assignment
 
M0DULE 1-MS ACCESS Databases and Database Objects.pdf
M0DULE 1-MS ACCESS Databases and Database Objects.pdfM0DULE 1-MS ACCESS Databases and Database Objects.pdf
M0DULE 1-MS ACCESS Databases and Database Objects.pdf
 
Uew k dbc-access-01
Uew k dbc-access-01Uew k dbc-access-01
Uew k dbc-access-01
 
Access advanced tutorial
Access advanced tutorialAccess advanced tutorial
Access advanced tutorial
 
Product Supplier59,58,8,2.50CIS 3100 - Database Desig.docx
Product Supplier59,58,8,2.50CIS 3100 - Database Desig.docxProduct Supplier59,58,8,2.50CIS 3100 - Database Desig.docx
Product Supplier59,58,8,2.50CIS 3100 - Database Desig.docx
 
CIS 3100 - Database Design and ImplementationScoring Rubric.docx
CIS 3100 - Database Design and ImplementationScoring Rubric.docxCIS 3100 - Database Design and ImplementationScoring Rubric.docx
CIS 3100 - Database Design and ImplementationScoring Rubric.docx
 
Tableau Data Connections
Tableau Data ConnectionsTableau Data Connections
Tableau Data Connections
 
OPERATE DATABASE APPLICATION
OPERATE DATABASE APPLICATIONOPERATE DATABASE APPLICATION
OPERATE DATABASE APPLICATION
 
Advanced database
Advanced databaseAdvanced database
Advanced database
 
Ms Access
Ms AccessMs Access
Ms Access
 
Web Application Development using PHP Chapter 6
Web Application Development using PHP Chapter 6Web Application Development using PHP Chapter 6
Web Application Development using PHP Chapter 6
 
David Carnes Wellington Salesforce Community june 10 2020 reports and dashb...
David Carnes Wellington Salesforce Community june 10 2020   reports and dashb...David Carnes Wellington Salesforce Community june 10 2020   reports and dashb...
David Carnes Wellington Salesforce Community june 10 2020 reports and dashb...
 
5.1 Creating a Form Using AutoForm
5.1 Creating a Form Using AutoForm5.1 Creating a Form Using AutoForm
5.1 Creating a Form Using AutoForm
 
5 Designing Form
5 Designing Form5 Designing Form
5 Designing Form
 
603s129
603s129603s129
603s129
 
FoJNHMH73B86GNga562.pptx
FoJNHMH73B86GNga562.pptxFoJNHMH73B86GNga562.pptx
FoJNHMH73B86GNga562.pptx
 

Plus de Jithin Zcs

Enterprise resource planning_system
Enterprise resource planning_systemEnterprise resource planning_system
Enterprise resource planning_systemJithin Zcs
 
Business level strategies
Business level strategiesBusiness level strategies
Business level strategiesJithin Zcs
 
Barriears to communication
Barriears to communicationBarriears to communication
Barriears to communicationJithin Zcs
 
Styles of business letters
Styles of business lettersStyles of business letters
Styles of business lettersJithin Zcs
 
Corporate governance
Corporate governanceCorporate governance
Corporate governanceJithin Zcs
 
Capital budgeting (1)- Management accounting
Capital budgeting (1)- Management accountingCapital budgeting (1)- Management accounting
Capital budgeting (1)- Management accountingJithin Zcs
 
Business environment basics
Business environment basicsBusiness environment basics
Business environment basicsJithin Zcs
 
01 securitization in india – issues and challenges
01 securitization in india – issues and challenges01 securitization in india – issues and challenges
01 securitization in india – issues and challengesJithin Zcs
 
Consumer behaviour ramanuj majumdar
Consumer behaviour ramanuj majumdarConsumer behaviour ramanuj majumdar
Consumer behaviour ramanuj majumdarJithin Zcs
 
Expert systems
Expert systemsExpert systems
Expert systemsJithin Zcs
 
modern language association formats
modern language association formatsmodern language association formats
modern language association formatsJithin Zcs
 
SPSS an intro...
SPSS an intro...SPSS an intro...
SPSS an intro...Jithin Zcs
 
Privatisation 999
Privatisation 999Privatisation 999
Privatisation 999Jithin Zcs
 
Johari window gadha
Johari window gadhaJohari window gadha
Johari window gadhaJithin Zcs
 

Plus de Jithin Zcs (17)

Enterprise resource planning_system
Enterprise resource planning_systemEnterprise resource planning_system
Enterprise resource planning_system
 
Business level strategies
Business level strategiesBusiness level strategies
Business level strategies
 
Barriears to communication
Barriears to communicationBarriears to communication
Barriears to communication
 
Styles of business letters
Styles of business lettersStyles of business letters
Styles of business letters
 
Uses of excel
Uses of excelUses of excel
Uses of excel
 
Company law
Company lawCompany law
Company law
 
Corporate governance
Corporate governanceCorporate governance
Corporate governance
 
Capital budgeting (1)- Management accounting
Capital budgeting (1)- Management accountingCapital budgeting (1)- Management accounting
Capital budgeting (1)- Management accounting
 
Business environment basics
Business environment basicsBusiness environment basics
Business environment basics
 
01 securitization in india – issues and challenges
01 securitization in india – issues and challenges01 securitization in india – issues and challenges
01 securitization in india – issues and challenges
 
Consumer behaviour ramanuj majumdar
Consumer behaviour ramanuj majumdarConsumer behaviour ramanuj majumdar
Consumer behaviour ramanuj majumdar
 
Expert systems
Expert systemsExpert systems
Expert systems
 
modern language association formats
modern language association formatsmodern language association formats
modern language association formats
 
Mis pdf
Mis pdfMis pdf
Mis pdf
 
SPSS an intro...
SPSS an intro...SPSS an intro...
SPSS an intro...
 
Privatisation 999
Privatisation 999Privatisation 999
Privatisation 999
 
Johari window gadha
Johari window gadhaJohari window gadha
Johari window gadha
 

Dernier

RSA Conference Exhibitor List 2024 - Exhibitors Data
RSA Conference Exhibitor List 2024 - Exhibitors DataRSA Conference Exhibitor List 2024 - Exhibitors Data
RSA Conference Exhibitor List 2024 - Exhibitors DataExhibitors Data
 
Monte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSMMonte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSMRavindra Nath Shukla
 
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...Dave Litwiller
 
0183760ssssssssssssssssssssssssssss00101011 (27).pdf
0183760ssssssssssssssssssssssssssss00101011 (27).pdf0183760ssssssssssssssssssssssssssss00101011 (27).pdf
0183760ssssssssssssssssssssssssssss00101011 (27).pdfRenandantas16
 
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...lizamodels9
 
Famous Olympic Siblings from the 21st Century
Famous Olympic Siblings from the 21st CenturyFamous Olympic Siblings from the 21st Century
Famous Olympic Siblings from the 21st Centuryrwgiffor
 
Dr. Admir Softic_ presentation_Green Club_ENG.pdf
Dr. Admir Softic_ presentation_Green Club_ENG.pdfDr. Admir Softic_ presentation_Green Club_ENG.pdf
Dr. Admir Softic_ presentation_Green Club_ENG.pdfAdmir Softic
 
It will be International Nurses' Day on 12 May
It will be International Nurses' Day on 12 MayIt will be International Nurses' Day on 12 May
It will be International Nurses' Day on 12 MayNZSG
 
VIP Call Girls In Saharaganj ( Lucknow ) 🔝 8923113531 🔝 Cash Payment (COD) 👒
VIP Call Girls In Saharaganj ( Lucknow  ) 🔝 8923113531 🔝  Cash Payment (COD) 👒VIP Call Girls In Saharaganj ( Lucknow  ) 🔝 8923113531 🔝  Cash Payment (COD) 👒
VIP Call Girls In Saharaganj ( Lucknow ) 🔝 8923113531 🔝 Cash Payment (COD) 👒anilsa9823
 
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...amitlee9823
 
Call Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service BangaloreCall Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangaloreamitlee9823
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756dollysharma2066
 
HONOR Veterans Event Keynote by Michael Hawkins
HONOR Veterans Event Keynote by Michael HawkinsHONOR Veterans Event Keynote by Michael Hawkins
HONOR Veterans Event Keynote by Michael HawkinsMichael W. Hawkins
 
Monthly Social Media Update April 2024 pptx.pptx
Monthly Social Media Update April 2024 pptx.pptxMonthly Social Media Update April 2024 pptx.pptx
Monthly Social Media Update April 2024 pptx.pptxAndy Lambert
 
A DAY IN THE LIFE OF A SALESMAN / WOMAN
A DAY IN THE LIFE OF A  SALESMAN / WOMANA DAY IN THE LIFE OF A  SALESMAN / WOMAN
A DAY IN THE LIFE OF A SALESMAN / WOMANIlamathiKannappan
 
Mondelez State of Snacking and Future Trends 2023
Mondelez State of Snacking and Future Trends 2023Mondelez State of Snacking and Future Trends 2023
Mondelez State of Snacking and Future Trends 2023Neil Kimberley
 
Regression analysis: Simple Linear Regression Multiple Linear Regression
Regression analysis:  Simple Linear Regression Multiple Linear RegressionRegression analysis:  Simple Linear Regression Multiple Linear Regression
Regression analysis: Simple Linear Regression Multiple Linear RegressionRavindra Nath Shukla
 
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...anilsa9823
 
Value Proposition canvas- Customer needs and pains
Value Proposition canvas- Customer needs and painsValue Proposition canvas- Customer needs and pains
Value Proposition canvas- Customer needs and painsP&CO
 
Best VIP Call Girls Noida Sector 40 Call Me: 8448380779
Best VIP Call Girls Noida Sector 40 Call Me: 8448380779Best VIP Call Girls Noida Sector 40 Call Me: 8448380779
Best VIP Call Girls Noida Sector 40 Call Me: 8448380779Delhi Call girls
 

Dernier (20)

RSA Conference Exhibitor List 2024 - Exhibitors Data
RSA Conference Exhibitor List 2024 - Exhibitors DataRSA Conference Exhibitor List 2024 - Exhibitors Data
RSA Conference Exhibitor List 2024 - Exhibitors Data
 
Monte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSMMonte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSM
 
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
 
0183760ssssssssssssssssssssssssssss00101011 (27).pdf
0183760ssssssssssssssssssssssssssss00101011 (27).pdf0183760ssssssssssssssssssssssssssss00101011 (27).pdf
0183760ssssssssssssssssssssssssssss00101011 (27).pdf
 
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
 
Famous Olympic Siblings from the 21st Century
Famous Olympic Siblings from the 21st CenturyFamous Olympic Siblings from the 21st Century
Famous Olympic Siblings from the 21st Century
 
Dr. Admir Softic_ presentation_Green Club_ENG.pdf
Dr. Admir Softic_ presentation_Green Club_ENG.pdfDr. Admir Softic_ presentation_Green Club_ENG.pdf
Dr. Admir Softic_ presentation_Green Club_ENG.pdf
 
It will be International Nurses' Day on 12 May
It will be International Nurses' Day on 12 MayIt will be International Nurses' Day on 12 May
It will be International Nurses' Day on 12 May
 
VIP Call Girls In Saharaganj ( Lucknow ) 🔝 8923113531 🔝 Cash Payment (COD) 👒
VIP Call Girls In Saharaganj ( Lucknow  ) 🔝 8923113531 🔝  Cash Payment (COD) 👒VIP Call Girls In Saharaganj ( Lucknow  ) 🔝 8923113531 🔝  Cash Payment (COD) 👒
VIP Call Girls In Saharaganj ( Lucknow ) 🔝 8923113531 🔝 Cash Payment (COD) 👒
 
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
 
Call Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service BangaloreCall Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
 
HONOR Veterans Event Keynote by Michael Hawkins
HONOR Veterans Event Keynote by Michael HawkinsHONOR Veterans Event Keynote by Michael Hawkins
HONOR Veterans Event Keynote by Michael Hawkins
 
Monthly Social Media Update April 2024 pptx.pptx
Monthly Social Media Update April 2024 pptx.pptxMonthly Social Media Update April 2024 pptx.pptx
Monthly Social Media Update April 2024 pptx.pptx
 
A DAY IN THE LIFE OF A SALESMAN / WOMAN
A DAY IN THE LIFE OF A  SALESMAN / WOMANA DAY IN THE LIFE OF A  SALESMAN / WOMAN
A DAY IN THE LIFE OF A SALESMAN / WOMAN
 
Mondelez State of Snacking and Future Trends 2023
Mondelez State of Snacking and Future Trends 2023Mondelez State of Snacking and Future Trends 2023
Mondelez State of Snacking and Future Trends 2023
 
Regression analysis: Simple Linear Regression Multiple Linear Regression
Regression analysis:  Simple Linear Regression Multiple Linear RegressionRegression analysis:  Simple Linear Regression Multiple Linear Regression
Regression analysis: Simple Linear Regression Multiple Linear Regression
 
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
 
Value Proposition canvas- Customer needs and pains
Value Proposition canvas- Customer needs and painsValue Proposition canvas- Customer needs and pains
Value Proposition canvas- Customer needs and pains
 
Best VIP Call Girls Noida Sector 40 Call Me: 8448380779
Best VIP Call Girls Noida Sector 40 Call Me: 8448380779Best VIP Call Girls Noida Sector 40 Call Me: 8448380779
Best VIP Call Girls Noida Sector 40 Call Me: 8448380779
 

Access introduction

  • 2. What Is a Database? • Collection of data organized in such a way that data can be searched, modified, added, removed efficiently • Database System: database in digitized form • Database Management System (DBMS)— software system to manipulate database— add, remove, modify, search
  • 3. Relational Database • All data items are organized by tables. – E.g., in School DB, tables for • Students (firstName, lastName, phone, email) • Faculties (firstName, lastName, phone, officeNo.) • Courses (department, crsNumber, title, credits) • Classes (time, location, course, classNum) • Schedule (student, class) • Buildings(bldgName, hasElevator, hasADA) • Rooms (roomNo, building, capacity, hasInternet)
  • 6. MS Access • Organized into Objects – Table • Contains data—most important – Form • For easier input of data – Report • For formatted printout – Query • For asking particular info from multiple tables
  • 7. Introduction to MS Access (1.1) • Objectives – To Open existing database – To add a record
  • 8. • 1. Use Windows Explorer to copy Bookstore.mdb from g to a drive. • 2. Open a DB (Bookstore.mdb in a drive) & Add a record • 3. Open a table – move from record to record – move from field to field (Tab)
  • 9. Adding New Records • 5. Add a New Record – Record 1 • 0-13-754243-7 • Exploring Microsoft Office 97 Volume I, Grauer/Barber 1997 • $45, Prentice Hall • 6. Add a Second Record – Record 2 • 0-13-271693--3 • Exploring the Inter/2nd Ed • $28.95, Prentice Hall
  • 10. • 8. Print the Table – FilePage SetupPage tabLandscape option. Click OK. – FilePrintAll option. OK. • 9. Exit Access – Close the Table – Close the Database – Close Access
  • 11. Manipulating Records and Fields • Replacing fields • Sorting records
  • 12. Maintaining the Database (1.2) • • • • Add, edit, delete record Examine Form Examine a Report Print a Report
  • 13. • 1. Retrieve Bookstore db. • 2. Double-click Books table. – – – – – Click in Title field EditFind Enter Exploring Windows 95 in the Fid What text box. Click the Find Next button. Change it’s price to $28.95. • 3. Edit->Undo Current Field/Record • 4. Delete Command – Click a Guide to SQL. – Delete the record. (Deletion is not Undo-able.)
  • 14. • 5. Data Validation – New Record. – Enter the following: • 0-07-041127-1, Getting Ahead by Getting Certified, Martinez, 1998, xxxx. (39.90), McGraw Hill. • 6. Open the Books Form – Forms buttonBooks form. Maximize • Add Record button. Add the following • 1-56604-229-1, HTML Publishing on the Internet, Budnick, Mendana PressThe Replace Command • 7. Replace Command – ViewDatasheet View – Ctrl+Home. – EditReplace. • Find What: Prentice-Hall • Replace with: Prentice Hall • Look in: Publisher
  • 15. • 8. Print a Report – Reports buttonPublisher report • Type Pretice Hall in the parameter dialog box. – Zoom boxFit – Print Preview – Print
  • 16. Changing Field Properties • Field size (Text) • Caption • Required
  • 17. Creating a Table (2.1) • A particular table should contain all information on a particular subject. – Book, student, employee, customers, catalog product, warehouse inventory, automobile inventory, bibliography, investment portfolio, etc. • What type of information do you want to maintain in a table?
  • 18. Two-Step Process • To create a Student table – 1. Define a table structure (in Design View) • • • • • • • • • • SSN FirstName Address City State Postal Code Phone BirthDate FinancialAid Credits Text Text Text Text Text Text Text Date Logical (Yes/No) Number – 2. Input data items (in Datasheet View)
  • 19. Using Table Wizard to Create Table • 1. Create a a New Database – Run Access. Click option button Blank Access Database. – In the Save In text box, select drive a: Go to folder Exploring Access. Save new file as My First Database. – Click the Create button.
  • 20. • 2. Create the Table – In the database window (My First Database), click the Tables button. – Click the New button (at the top). Select Table Wizard. Click OK. • 3. The Table Wizard – In the Table Wizard, click Business option button. In the Sample Tables list box, select Students (near the bottom). – Transfer StudentID, FirstName, LastName, Address, City, & StateOrProvince. – Rename StateOrProvince to State. – Add PostalCode and PhoneNumber.
  • 21. • 4. The Table Wizard (continued) – – – – – – Accept Students as the Name of the Table Accept Yes, set a primary key for me. Click Next. Click Modify the table design. Click Finish. FileSave • 5. Add Additional Fields – – – – – In the design view, enter BirthDate as a new field. Change Data type to Date/Time. Add Gender as Text field. Add Credits as Number field. Add QualityPoints as Number field. (NB. No space in field name)
  • 22. • 6. Change the Primary Key – – – – – Point to first field. Right-clickInsert Rows. Enter SSN for field name. In the Properties area, select Yes for Required box. Click SSN field, click Primary Key button. Click StudentID field. Right-clickDelete Rows. • 7. Add an Input Mask – Click in SSN. Click the Input Mask box in the Properties area. – Click the Build button (at right) – Select Social Security Number. – Try it by type 123456789. – Select BirthDate, show Input Mask, and choose Short Date format. Say Yes to Save.
  • 23. • 8. Change the Field Properties – Click FirstName. • In the Properties area, change size to 25. • In the Required box, choose Yes. – Click the State field. • Change size to 2 • In the Format box, type > – Click the Credits field • Change Field Size to Integer. • In the Default Value box, delete 0. – Click the QualityPoints • Change Field Size to Integer. • Delete 0 from the Default Value. • Save the table.
  • 24. • 9. Add a Validation Rule – Click Gender field. • Change size to 1. • In the Format box, type >. • Click the Validation Rule box. Type “M” or “F”. (This means that only M or F will be acceptable.) • In the Validation Text box, type “You must specify M or F.” • Save. • 10. Datasheet View – – – – Click the View button. Type 111111111 for SSN in the first record. Enter, to move to FirstName field. Enter Ronnie Adili. Enter the following (P AC-64) • 111-11-111 Ronnie, Adili, 3543 Queen Avenue, Minneapolis, MN 55476-9899 (612)445-7654 • 22222222 Christoper Gibson, 9807 S.W. 152 Street, Miami, FL 33157-232, (305)235-4563
  • 25. • 333333333, Nicholas, Korba, 85 Bayshore Drive, San Francisco, CA, 94114-5533, (415)664-0900 • 11. Enter Additional data – Enter two more records, deliberately making mistakes in Credits, S in Gender. • 12. Print the Table – FilePrint – Close
  • 26. Two-Step Process (2) • To create an Employee table – Define a table structure (in Design View) • • • • • • • • • • EmployeeID FirstName Address City State Postal Code WorkPhone DateHired Married Deductions Text Text Text Text Text Text Text Date Logical (Yes/No) Number – Input data items (in Datasheet View)
  • 27. Adding Fields • Click Design View button. • Insert new row after HomePhone. • Add WorkPhone (Text)
  • 28. Adding (and Changing) the Primary Key • Primary key makes each record unique in a table. • Try to choose a field that is naturally unique for each record. – – – – SSN for Employee record ISBN for Book record Call number of a library book Sales number • or, create a field of unique numbers (AutoNumber)
  • 29. Adding an Input Mask • To format certain data items automatically – – – – – SSN telephone number ZIP Date Time
  • 30. Report Wizard (3.1) • 1. Open the Our Students Database – Click Reports buttonNewReport Wizard • 2. ReportWizard – Click LastName, FirstName, PhoneNumber, & Major • 3. Report Wizard (cont) – – – – – – – Sort by LastName Tabular layout Portraait orientation Adjust field width so all fields fit on a page. Next Corporate. Next Title: Student Master List Finish
  • 31. • 4. Preview the Report – Preview at 75%. Close • 5. Modify an Existing Control – Click the border on containng the Now function from the footer to the header. – Align right (with button on toolbar) – Right-clickPropertiesFormat tabFormat propertyShort Date – Save • 6. Add an unbound control – Crate label in footer. – Type: Prepared by your name. – Right-click-PropertiesFont SizeFont Size9
  • 32. • 7. Change the Sort Order – – – – ViewSortingand Grouping. In Field Expression box, click Major On the next line, click LastName View • 8. View the Modifed Report – Print Preview – Save. Print • 9. Report Properties – – – – Click Report button on the database window. Select Student Master List. Right-clickPropertiesDescription text box Type: This report lists every student in alphabetical order by name within major. It also contains the student’s telephone number.
  • 33. Creating a Query • Query • lets user to ask questions • allows user to choose a subset of table that satisfy certain conditions • Given Students table • How many are from California? • Who are majoring in Business? • Who are from California AND majoring in Business?
  • 34. USA Table • The fields in the USA table are: – Name – Capital – Nickname – Year established – Population – Area – Region (Pacific, Mountain, New England, South Central, North Central, Middle Atlantic
  • 35. Queries • • • • • States in the Pacific region States in the Pacific OR New England region States with a population over 5,000,000 States established since 1900 States established before 1900 AND having a population over 5,000,000 • States established in the 1800’s • States established in the 1700’s
  • 36. Queries on Students • List all Business Majors • List Business Majors from Florida • List Communications Majors Receiving Financial • • • • Aid All Students from Florida Engineering Majors with Fewer than 60 Credits Students with 60 to 90 Credits Engineering Majors with Fewer than 60 Credits or Communicaitons Majors Born on or after April 1, 1974
  • 37. Creating a Select Query (3.2) • 1. Open Our Students database – QueriesNew – Design View is open • 2. Add the Students Table – Select Students tableAddClose. Maximize. Expand the upper portion. • 3. Create a query – Drag LstName field from Students table to the first column. – Drag FirstName, PHoneNUmber, Major, and Credits to the QBE grid. – Adding & Deleting fields
  • 38. • 4. Specify the Criteria – To display all UNDECIDED majors: • In Criteria row for Major, type Undecided • In Sort under LastName field, select Ascending • Save • Type Undecided Major as the Query name. Click OK. • 5. Run the Query – QueryRun (Run button) • 6. Modify the Query – – – – – To display all UNDECIDED majors with more than 30 credits Uncheck Show check box in the Major field In Criteria row under credits, type >30. Save. Run
  • 39. • 7. Create a Report – – – – – – – Open Our Students Database Click Reports buttonCreate report by using Wizard Tables/Queries list boxQuery: Undecided Major Click >> button. Next. Next, Next Tabular layout, Portrait orientation, Soft Gray. Title: Undecided Major. Finish • 8. View the Report – Place date in the header. – Place your name in the footer.
  • 40. Other Queries • All students from California or Florida • All Business students from Florida • All Education students from California or Florida • All Education students with credits over 30 • All Education students with credits between 30 and 60