SlideShare a Scribd company logo
1 of 19
Microsoft Access
Chapter:3 Sorting, Filtering, and Creating
Relationships
You can sort Access data so you can
view records in the order you want to
view them, and you can filter data so
you only see the records you want to
see. This lesson teaches you how to sort
and filter an Access table. Access data is
stored in multiple tables. Relationships
join tables together so you can work
with the data from multiple tables. This
lesson also teaches you how to create
relationships.
Department of Computer Science
Semester 2
Lecturer Yasir A. Mohamed
By sorting, you can put a column of information in alphabetical,
numerical, or date order. You can sort in ascending order
(alphabetical from A to Z, lowest number to highest number,
earliest date to latest date) or descending order (alphabetical from Z
to A, highest number to lowest number, latest date to earliest date).
You can also sort within a sort. For example, you can sort by state
and then sort within each state by city. When sorting within a sort,
perform
the innermost sort first . For example, if you are sorting by state and
then city, sort the city first and then sort by state.
Sort a Table
Click the column label for the column you want to sort.
Activate the Home tab.
Click the Ascending or Descending button in the Sort & Filter
group. Access sorts the column in ascending or descending order.
Steps of sorting table data
Activate the Home tab.
Click the Clear All Sort s button in the Sort & Filter group. Access
clears all of the sorts you have applied.
Steps of removing sort table data
You can apply a filter to see only the records you want to see. For
example, perhaps your database contains students from the
semesters of Sem1, Sem2, and Sem5 and you only want to see the
students from Sem2. You can filter your data so only Sem2 students
display.
Filter a Table
Each time you apply a filter to a column, it replaces any previous
filter you applied to that column. For example, if you apply a filter so
you only see students in Sem2, and later you apply a filter to Sem1
so you only see students in Sem1 , Access clears the Sem2 filter and
then applies the Sem1 filter.
Cont…
Click the column label for the column you want to filter.
Activate the Home tab.
Click the Filter button. A menu appears.
Uncheck the items you do not want to appear, making sure only the
items you want are checked.
Click OK. Access filters your data and displays the word Filtered at
the bottom of the window.
Tip: After you apply a filter, you can use the Toggle Filter button to
toggle the application of the filter on and off.
Steps of applying a filter:
There may be times when you may not want to display a certain
column or set of columns. In such cases, you can temporarily hide
the column or columns from view. Later, if you want to display them
column again, you can unhide them.
Hide Columns
R.Click the column.
Choose Hide columns
Click ok.
Hide columns steps
After you have created a table for each subject in your database, you
have to give Access a way to bring that information back together
again when needed. You do this by placing common fields in tables
that are related, and by defining relationships between your tables.
You can then create queries, forms, and reports that display
information from several tables at once. For example, the form
shown here includes information drawn from several tables:
Access relationships
A one-to-many relationship
Let’s use an order tracking database that includes a Customers table
and an Orders table as an example. A customer can place any
number of orders. It follows that for any customer represented in the
Customers table, there might be many orders represented in the
Orders table. The relationship between the Customers table and the
Orders table is a one-to-many relationship.
Types of table relationships
A many-to-many relationship
Now let’s look at the relationship between a Products table and an
Orders table. A single order can include more than one product. On
the other hand, a single product can appear on many orders.
Therefore, for each record in the Orders table, there can be many
records in the Products table. In addition, for each record in the
Products table, there can be many records in the Orders table. This
relationship is called a many-to-many relationship. Note that to
detect existing many-to-many relationships between your tables, it is
important that you consider both sides of the relationship.
A one-to-one relationship
In a one-to-one relationship, each record in the first table can have only
one matching record in the second table, and each record in the second
table can have only one matching record in the first table. This
relationship is not common because, most often, the information related
in this way is stored in the same table. You might use a one-to-one
relationship to divide a table with many fields, to isolate part of a table
for security reasons, or to store information that applies only to a subset
of the main table. When you do identify such a relationship, both tables
must share a common field.
1. Close all tables and forms. (Right-click on the tab of any Object. A
menu appears. Click Close All.)
Steps of creating relationship
2. Activate the Database Tools tab.
3. Click the Relationships button in the Show / Hide group. The
Relationships window appears.
4. If anything appears in the relationships window, click the Clear
Layout button in the Tools group. If you are prompted, click Yes.
5. Click the Show Table button in the Relationships group. The Show
Table dialog box appears.
6. Activate the Tables tab if your relationships will be based on
tables, activate the Queries tab if your relationships will be based on
queries, or activate the Both tab if your relationships will be based
on both.
7. Double-click each table or query you want to use to build a
relationship. The tables appear in the Relationships window.
8. Click the Close button to close the Show Table dialog box.
9. Drag the Primary table’s primary key over
the related table’s
Assignment
1. Explain about relationship of Microsoft access?
2. Define the flowing?
Sorting, Filtering, and Creating Relationships
3. List adding and removing sort steps?
4. State steps to create Filter in field ?
5. Create your own database and create tables and also do work
wich is different what we do in Microsoft access relationship?
You can find me at:
yaasiraliboss65@gmail.com
sunrisetechnology01@yahoo.com
www.cabeeyeitgroup.com
Any questions?
Thanks!

More Related Content

Similar to Sorting, Filtering, and Creating Relationships.pptx

Lesson Five Building Table Relationships
Lesson Five   Building Table RelationshipsLesson Five   Building Table Relationships
Lesson Five Building Table Relationships
guevarra_2000
 
Microsoft excel training
Microsoft excel trainingMicrosoft excel training
Microsoft excel training
Mohamed Hassan
 
Basic introduction to ms access
Basic introduction to ms accessBasic introduction to ms access
Basic introduction to ms access
jigeno
 
Salesforce fundementals short
Salesforce fundementals shortSalesforce fundementals short
Salesforce fundementals short
Kati_Fluido
 
Mic office access tutorial for beginners
Mic office access tutorial for beginnersMic office access tutorial for beginners
Mic office access tutorial for beginners
Aimina Salsabila
 
Microsoft Office Access 2003 Tutorial for Beginners
Microsoft Office Access 2003 Tutorial for BeginnersMicrosoft Office Access 2003 Tutorial for Beginners
Microsoft Office Access 2003 Tutorial for Beginners
Aimina Salsabila
 
ACTG Tableau intro labDownload the TableauLab file and look ov.docx
ACTG   Tableau intro labDownload the TableauLab file and look ov.docxACTG   Tableau intro labDownload the TableauLab file and look ov.docx
ACTG Tableau intro labDownload the TableauLab file and look ov.docx
nettletondevon
 

Similar to Sorting, Filtering, and Creating Relationships.pptx (20)

Print10
Print10Print10
Print10
 
Lesson Five Building Table Relationships
Lesson Five   Building Table RelationshipsLesson Five   Building Table Relationships
Lesson Five Building Table Relationships
 
Whatsapp survery report
Whatsapp survery  reportWhatsapp survery  report
Whatsapp survery report
 
Acccesss notes
Acccesss notesAcccesss notes
Acccesss notes
 
Microsoft excel training
Microsoft excel trainingMicrosoft excel training
Microsoft excel training
 
Database as information system
Database as information systemDatabase as information system
Database as information system
 
Basic interview questions for skills tests
Basic interview questions for skills testsBasic interview questions for skills tests
Basic interview questions for skills tests
 
MS Access - Create Form.pdf
MS Access - Create Form.pdfMS Access - Create Form.pdf
MS Access - Create Form.pdf
 
Microsoft Access Notes 2007 Ecdl
Microsoft Access Notes 2007 EcdlMicrosoft Access Notes 2007 Ecdl
Microsoft Access Notes 2007 Ecdl
 
MS Access and Database Fundamentals
MS Access and Database FundamentalsMS Access and Database Fundamentals
MS Access and Database Fundamentals
 
Basic introduction to ms access
Basic introduction to ms accessBasic introduction to ms access
Basic introduction to ms access
 
Access07 l1 ch2
Access07 l1 ch2Access07 l1 ch2
Access07 l1 ch2
 
06.sorting and filling
06.sorting and filling06.sorting and filling
06.sorting and filling
 
06.ms acess
06.ms acess06.ms acess
06.ms acess
 
Salesforce fundementals short
Salesforce fundementals shortSalesforce fundementals short
Salesforce fundementals short
 
Using Multiple Workbooks & Consolidation in Microsoft Excel
Using Multiple Workbooks & Consolidation in Microsoft ExcelUsing Multiple Workbooks & Consolidation in Microsoft Excel
Using Multiple Workbooks & Consolidation in Microsoft Excel
 
Mic office access tutorial for beginners
Mic office access tutorial for beginnersMic office access tutorial for beginners
Mic office access tutorial for beginners
 
Microsoft Office Access 2003 Tutorial for Beginners
Microsoft Office Access 2003 Tutorial for BeginnersMicrosoft Office Access 2003 Tutorial for Beginners
Microsoft Office Access 2003 Tutorial for Beginners
 
Spss guidelines
Spss guidelinesSpss guidelines
Spss guidelines
 
ACTG Tableau intro labDownload the TableauLab file and look ov.docx
ACTG   Tableau intro labDownload the TableauLab file and look ov.docxACTG   Tableau intro labDownload the TableauLab file and look ov.docx
ACTG Tableau intro labDownload the TableauLab file and look ov.docx
 

More from kulmiyealiabdille (6)

INTRODUCTION.pptx
INTRODUCTION.pptxINTRODUCTION.pptx
INTRODUCTION.pptx
 
All-Squared-LVAC-Web-Design.ppt
All-Squared-LVAC-Web-Design.pptAll-Squared-LVAC-Web-Design.ppt
All-Squared-LVAC-Web-Design.ppt
 
Customer Service.ppt
Customer Service.pptCustomer Service.ppt
Customer Service.ppt
 
electroinic accounting.ppt
electroinic accounting.pptelectroinic accounting.ppt
electroinic accounting.ppt
 
tables and datatypes2.pptx
tables and datatypes2.pptxtables and datatypes2.pptx
tables and datatypes2.pptx
 
Login Project with introduction .pptx
Login Project with introduction .pptxLogin Project with introduction .pptx
Login Project with introduction .pptx
 

Recently uploaded

Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
KarakKing
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 

Recently uploaded (20)

On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 

Sorting, Filtering, and Creating Relationships.pptx

  • 1. Microsoft Access Chapter:3 Sorting, Filtering, and Creating Relationships You can sort Access data so you can view records in the order you want to view them, and you can filter data so you only see the records you want to see. This lesson teaches you how to sort and filter an Access table. Access data is stored in multiple tables. Relationships join tables together so you can work with the data from multiple tables. This lesson also teaches you how to create relationships. Department of Computer Science Semester 2 Lecturer Yasir A. Mohamed
  • 2. By sorting, you can put a column of information in alphabetical, numerical, or date order. You can sort in ascending order (alphabetical from A to Z, lowest number to highest number, earliest date to latest date) or descending order (alphabetical from Z to A, highest number to lowest number, latest date to earliest date). You can also sort within a sort. For example, you can sort by state and then sort within each state by city. When sorting within a sort, perform the innermost sort first . For example, if you are sorting by state and then city, sort the city first and then sort by state. Sort a Table
  • 3. Click the column label for the column you want to sort. Activate the Home tab. Click the Ascending or Descending button in the Sort & Filter group. Access sorts the column in ascending or descending order. Steps of sorting table data
  • 4. Activate the Home tab. Click the Clear All Sort s button in the Sort & Filter group. Access clears all of the sorts you have applied. Steps of removing sort table data
  • 5. You can apply a filter to see only the records you want to see. For example, perhaps your database contains students from the semesters of Sem1, Sem2, and Sem5 and you only want to see the students from Sem2. You can filter your data so only Sem2 students display. Filter a Table
  • 6. Each time you apply a filter to a column, it replaces any previous filter you applied to that column. For example, if you apply a filter so you only see students in Sem2, and later you apply a filter to Sem1 so you only see students in Sem1 , Access clears the Sem2 filter and then applies the Sem1 filter. Cont…
  • 7. Click the column label for the column you want to filter. Activate the Home tab. Click the Filter button. A menu appears. Uncheck the items you do not want to appear, making sure only the items you want are checked. Click OK. Access filters your data and displays the word Filtered at the bottom of the window. Tip: After you apply a filter, you can use the Toggle Filter button to toggle the application of the filter on and off. Steps of applying a filter:
  • 8. There may be times when you may not want to display a certain column or set of columns. In such cases, you can temporarily hide the column or columns from view. Later, if you want to display them column again, you can unhide them. Hide Columns
  • 9. R.Click the column. Choose Hide columns Click ok. Hide columns steps
  • 10. After you have created a table for each subject in your database, you have to give Access a way to bring that information back together again when needed. You do this by placing common fields in tables that are related, and by defining relationships between your tables. You can then create queries, forms, and reports that display information from several tables at once. For example, the form shown here includes information drawn from several tables: Access relationships
  • 11. A one-to-many relationship Let’s use an order tracking database that includes a Customers table and an Orders table as an example. A customer can place any number of orders. It follows that for any customer represented in the Customers table, there might be many orders represented in the Orders table. The relationship between the Customers table and the Orders table is a one-to-many relationship. Types of table relationships
  • 12. A many-to-many relationship Now let’s look at the relationship between a Products table and an Orders table. A single order can include more than one product. On the other hand, a single product can appear on many orders. Therefore, for each record in the Orders table, there can be many records in the Products table. In addition, for each record in the Products table, there can be many records in the Orders table. This relationship is called a many-to-many relationship. Note that to detect existing many-to-many relationships between your tables, it is important that you consider both sides of the relationship.
  • 13. A one-to-one relationship In a one-to-one relationship, each record in the first table can have only one matching record in the second table, and each record in the second table can have only one matching record in the first table. This relationship is not common because, most often, the information related in this way is stored in the same table. You might use a one-to-one relationship to divide a table with many fields, to isolate part of a table for security reasons, or to store information that applies only to a subset of the main table. When you do identify such a relationship, both tables must share a common field.
  • 14. 1. Close all tables and forms. (Right-click on the tab of any Object. A menu appears. Click Close All.) Steps of creating relationship
  • 15. 2. Activate the Database Tools tab. 3. Click the Relationships button in the Show / Hide group. The Relationships window appears.
  • 16. 4. If anything appears in the relationships window, click the Clear Layout button in the Tools group. If you are prompted, click Yes. 5. Click the Show Table button in the Relationships group. The Show Table dialog box appears.
  • 17. 6. Activate the Tables tab if your relationships will be based on tables, activate the Queries tab if your relationships will be based on queries, or activate the Both tab if your relationships will be based on both. 7. Double-click each table or query you want to use to build a relationship. The tables appear in the Relationships window. 8. Click the Close button to close the Show Table dialog box. 9. Drag the Primary table’s primary key over the related table’s
  • 18. Assignment 1. Explain about relationship of Microsoft access? 2. Define the flowing? Sorting, Filtering, and Creating Relationships 3. List adding and removing sort steps? 4. State steps to create Filter in field ? 5. Create your own database and create tables and also do work wich is different what we do in Microsoft access relationship?
  • 19. You can find me at: yaasiraliboss65@gmail.com sunrisetechnology01@yahoo.com www.cabeeyeitgroup.com Any questions? Thanks!