SlideShare a Scribd company logo
1 of 13
Download to read offline
Introduction to Access   [CREATING BASIC QUERIES]



These notes are copyright Richard Butler of www.12MinuteGuides.com
The guides are given for educational purposes are designed to be read within
12 minutes.

Please note the author supplies these guides to you as is. To keep updated
on these guides ensure you sign up to kept informed.


To your greater educational success

Richard Butler
Author
12MinuteGuides.com




    1   (C) Richard Butler 2010 http://www.12MinuteGuides.com
Introduction to Access   [CREATING BASIC QUERIES]

Getting Started With Queries




The following box appears:




Press OK




    2   (C) Richard Butler 2010 http://www.12MinuteGuides.com
Introduction to Access   [CREATING BASIC QUERIES]

From this screen choose the fields you wish to use in your query
To select all fields click on the >> button
This brings all fields over




     3   (C) Richard Butler 2010 http://www.12MinuteGuides.com
Introduction to Access   [CREATING BASIC QUERIES]

Your screen should look like this




     4   (C) Richard Butler 2010 http://www.12MinuteGuides.com
Introduction to Access   [CREATING BASIC QUERIES]

The next screen can be left as it is




     5   (C) Richard Butler 2010 http://www.12MinuteGuides.com
Introduction to Access   [CREATING BASIC QUERIES]

The final screen appears:




Once you click finish the following screen will appear.
Note your query has been set up now you have to actually tell the database
what you are searching for.




     6   (C) Richard Butler 2010 http://www.12MinuteGuides.com
Introduction to Access   [CREATING BASIC QUERIES]

Decide what you are to search for and enter in the appropriate field.
Remember if for example you are looking for dominant fish you must enter in a
type of fish that is contained in the database listing.




This query will return information for any lake with Trout in it.
Click on the Run button to run the report:




It will appear as follows:




     7   (C) Richard Butler 2010 http://www.12MinuteGuides.com
Introduction to Access   [CREATING BASIC QUERIES]

Look at the left hand side of the screen
You will see a new icon which is the query icon:




Close of the query by clicking on the box in the right corner of the right hand
window:




If you don’t do this it may cause an error message to appear

Save the query when asked:




     8   (C) Richard Butler 2010 http://www.12MinuteGuides.com
Introduction to Access   [CREATING BASIC QUERIES]

Now that you have the query you can create a report based on it
Go to the Create ribbon and choose the Report Wizard as shown below:




The following appears:




Ensure you choose the query you wish to create the report from.
Bring all the fields across as before and then click on Next



    9   (C) Richard Butler 2010 http://www.12MinuteGuides.com
Introduction to Access   [CREATING BASIC QUERIES]

The following appears:




Click Next




   10   (C) Richard Butler 2010 http://www.12MinuteGuides.com
Introduction to Access   [CREATING BASIC QUERIES]

From the following screen click Next




   11   (C) Richard Butler 2010 http://www.12MinuteGuides.com
Introduction to Access   [CREATING BASIC QUERIES]

From the final screen click Finish




The report is now created and will appear on the left hand side:




   12    (C) Richard Butler 2010 http://www.12MinuteGuides.com
Introduction to Access   [CREATING BASIC QUERIES]

Modifying A Query

You can modify existing queries by double clicking on them from the left hand
side of the screen
When it appears you may need to go into design view
Do this by clicking on the button below found on the Home ribbon




In this example we are going to run a query based on three criteria. All criteria
must be satisfied in order for results to be show.
The criteria below are:
Distance of lake from hotel 4km
Dominant fish Trout
Boats for hire Yes
The query would look like the one below.
Note there is no need to put the km in after the 4




Entering in the above and press the Run icon will display the results (if any)




   13    (C) Richard Butler 2010 http://www.12MinuteGuides.com

More Related Content

Similar to Creating queries in_access_2007_ecdl

Introduction to the New Admissions IT Service Request Form
Introduction to the New Admissions IT Service Request FormIntroduction to the New Admissions IT Service Request Form
Introduction to the New Admissions IT Service Request Form
Edwin Jackson
 
Informatica complex transformation ii
Informatica complex transformation iiInformatica complex transformation ii
Informatica complex transformation ii
Amit Sharma
 

Similar to Creating queries in_access_2007_ecdl (16)

Introduction to the New Admissions IT Service Request Form
Introduction to the New Admissions IT Service Request FormIntroduction to the New Admissions IT Service Request Form
Introduction to the New Admissions IT Service Request Form
 
Power BI Overview Manual
Power BI Overview ManualPower BI Overview Manual
Power BI Overview Manual
 
10 Best Practices for Tableau Dashboard Design: Data Exploration and Actionab...
10 Best Practices for Tableau Dashboard Design: Data Exploration and Actionab...10 Best Practices for Tableau Dashboard Design: Data Exploration and Actionab...
10 Best Practices for Tableau Dashboard Design: Data Exploration and Actionab...
 
Evolution of the Knowledge Broker: STC PMC 2016
Evolution of the Knowledge Broker: STC PMC 2016Evolution of the Knowledge Broker: STC PMC 2016
Evolution of the Knowledge Broker: STC PMC 2016
 
Informatica complex transformation ii
Informatica complex transformation iiInformatica complex transformation ii
Informatica complex transformation ii
 
Devry acct 251 final exam
Devry acct 251 final examDevry acct 251 final exam
Devry acct 251 final exam
 
Everyday Behavioral Science
Everyday Behavioral ScienceEveryday Behavioral Science
Everyday Behavioral Science
 
Devry acct 251 final exam
Devry acct 251 final examDevry acct 251 final exam
Devry acct 251 final exam
 
Economics homework help
Economics homework helpEconomics homework help
Economics homework help
 
C# Crystal Reports
C# Crystal ReportsC# Crystal Reports
C# Crystal Reports
 
Oracle Forms
Oracle FormsOracle Forms
Oracle Forms
 
oracle-forms
oracle-formsoracle-forms
oracle-forms
 
Lc solutions sop manual2
Lc solutions sop manual2Lc solutions sop manual2
Lc solutions sop manual2
 
Business objects BO guide
Business objects BO guideBusiness objects BO guide
Business objects BO guide
 
COVID-19 SAP SuccessFactors Candidate Relationship Management (CRM) Configura...
COVID-19 SAP SuccessFactors Candidate Relationship Management (CRM) Configura...COVID-19 SAP SuccessFactors Candidate Relationship Management (CRM) Configura...
COVID-19 SAP SuccessFactors Candidate Relationship Management (CRM) Configura...
 
DSD
DSDDSD
DSD
 

More from Richard Butler

More from Richard Butler (20)

8 motivational tips for getting motivated
8 motivational tips for getting motivated8 motivational tips for getting motivated
8 motivational tips for getting motivated
 
Successful Living - April 2021 - Goal Setting
Successful Living - April 2021 - Goal SettingSuccessful Living - April 2021 - Goal Setting
Successful Living - April 2021 - Goal Setting
 
Successful living march 2021
Successful living march 2021Successful living march 2021
Successful living march 2021
 
Becoming an entrepreneur later in life
Becoming an entrepreneur  later in lifeBecoming an entrepreneur  later in life
Becoming an entrepreneur later in life
 
Lesson 1 beginners - greetings - private englishclasses.com
Lesson 1   beginners - greetings - private englishclasses.comLesson 1   beginners - greetings - private englishclasses.com
Lesson 1 beginners - greetings - private englishclasses.com
 
Day 15 nlp
Day 15 nlpDay 15 nlp
Day 15 nlp
 
Day 13 if only i had
Day 13 if only i hadDay 13 if only i had
Day 13 if only i had
 
Day 12 - what if
Day 12 - what ifDay 12 - what if
Day 12 - what if
 
Day 7 - gratitude
Day 7 - gratitudeDay 7 - gratitude
Day 7 - gratitude
 
Day 6 beliefs
Day 6  beliefsDay 6  beliefs
Day 6 beliefs
 
Basics of WordPress - Setting up Plugins
Basics of WordPress - Setting up PluginsBasics of WordPress - Setting up Plugins
Basics of WordPress - Setting up Plugins
 
25 reasons-to-be-grateful-life-coach-barcelona
25 reasons-to-be-grateful-life-coach-barcelona25 reasons-to-be-grateful-life-coach-barcelona
25 reasons-to-be-grateful-life-coach-barcelona
 
The past tense - a quick revision!
The past tense - a quick revision!The past tense - a quick revision!
The past tense - a quick revision!
 
Reflecting on life
Reflecting on lifeReflecting on life
Reflecting on life
 
Present tense revision
Present tense revisionPresent tense revision
Present tense revision
 
New english words
New english wordsNew english words
New english words
 
Girl drama!
Girl drama!Girl drama!
Girl drama!
 
Affiliate resources
Affiliate resourcesAffiliate resources
Affiliate resources
 
Turn dreams into reality
Turn dreams into realityTurn dreams into reality
Turn dreams into reality
 
Focus first and begin to live
Focus first and begin to liveFocus first and begin to live
Focus first and begin to live
 

Recently uploaded

MSc Ag Genetics & Plant Breeding: Insights from Previous Year JNKVV Entrance ...
MSc Ag Genetics & Plant Breeding: Insights from Previous Year JNKVV Entrance ...MSc Ag Genetics & Plant Breeding: Insights from Previous Year JNKVV Entrance ...
MSc Ag Genetics & Plant Breeding: Insights from Previous Year JNKVV Entrance ...
Krashi Coaching
 
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
中 央社
 
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
中 央社
 
The basics of sentences session 4pptx.pptx
The basics of sentences session 4pptx.pptxThe basics of sentences session 4pptx.pptx
The basics of sentences session 4pptx.pptx
heathfieldcps1
 

Recently uploaded (20)

MSc Ag Genetics & Plant Breeding: Insights from Previous Year JNKVV Entrance ...
MSc Ag Genetics & Plant Breeding: Insights from Previous Year JNKVV Entrance ...MSc Ag Genetics & Plant Breeding: Insights from Previous Year JNKVV Entrance ...
MSc Ag Genetics & Plant Breeding: Insights from Previous Year JNKVV Entrance ...
 
Incoming and Outgoing Shipments in 2 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 2 STEPS Using Odoo 17Incoming and Outgoing Shipments in 2 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 2 STEPS Using Odoo 17
 
IPL Online Quiz by Pragya; Question Set.
IPL Online Quiz by Pragya; Question Set.IPL Online Quiz by Pragya; Question Set.
IPL Online Quiz by Pragya; Question Set.
 
size separation d pharm 1st year pharmaceutics
size separation d pharm 1st year pharmaceuticssize separation d pharm 1st year pharmaceutics
size separation d pharm 1st year pharmaceutics
 
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
 
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
 
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjj
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjjStl Algorithms in C++ jjjjjjjjjjjjjjjjjj
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjj
 
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
 
Basic Civil Engineering notes on Transportation Engineering, Modes of Transpo...
Basic Civil Engineering notes on Transportation Engineering, Modes of Transpo...Basic Civil Engineering notes on Transportation Engineering, Modes of Transpo...
Basic Civil Engineering notes on Transportation Engineering, Modes of Transpo...
 
Pragya Champions Chalice 2024 Prelims & Finals Q/A set, General Quiz
Pragya Champions Chalice 2024 Prelims & Finals Q/A set, General QuizPragya Champions Chalice 2024 Prelims & Finals Q/A set, General Quiz
Pragya Champions Chalice 2024 Prelims & Finals Q/A set, General Quiz
 
Envelope of Discrepancy in Orthodontics: Enhancing Precision in Treatment
 Envelope of Discrepancy in Orthodontics: Enhancing Precision in Treatment Envelope of Discrepancy in Orthodontics: Enhancing Precision in Treatment
Envelope of Discrepancy in Orthodontics: Enhancing Precision in Treatment
 
ANTI PARKISON DRUGS.pptx
ANTI         PARKISON          DRUGS.pptxANTI         PARKISON          DRUGS.pptx
ANTI PARKISON DRUGS.pptx
 
Operations Management - Book1.p - Dr. Abdulfatah A. Salem
Operations Management - Book1.p  - Dr. Abdulfatah A. SalemOperations Management - Book1.p  - Dr. Abdulfatah A. Salem
Operations Management - Book1.p - Dr. Abdulfatah A. Salem
 
PSYPACT- Practicing Over State Lines May 2024.pptx
PSYPACT- Practicing Over State Lines May 2024.pptxPSYPACT- Practicing Over State Lines May 2024.pptx
PSYPACT- Practicing Over State Lines May 2024.pptx
 
The basics of sentences session 4pptx.pptx
The basics of sentences session 4pptx.pptxThe basics of sentences session 4pptx.pptx
The basics of sentences session 4pptx.pptx
 
Removal Strategy _ FEFO _ Working with Perishable Products in Odoo 17
Removal Strategy _ FEFO _ Working with Perishable Products in Odoo 17Removal Strategy _ FEFO _ Working with Perishable Products in Odoo 17
Removal Strategy _ FEFO _ Working with Perishable Products in Odoo 17
 
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
 
Dementia (Alzheimer & vasular dementia).
Dementia (Alzheimer & vasular dementia).Dementia (Alzheimer & vasular dementia).
Dementia (Alzheimer & vasular dementia).
 
An Overview of the Odoo 17 Knowledge App
An Overview of the Odoo 17 Knowledge AppAn Overview of the Odoo 17 Knowledge App
An Overview of the Odoo 17 Knowledge App
 
II BIOSENSOR PRINCIPLE APPLICATIONS AND WORKING II
II BIOSENSOR PRINCIPLE APPLICATIONS AND WORKING IIII BIOSENSOR PRINCIPLE APPLICATIONS AND WORKING II
II BIOSENSOR PRINCIPLE APPLICATIONS AND WORKING II
 

Creating queries in_access_2007_ecdl

  • 1. Introduction to Access [CREATING BASIC QUERIES] These notes are copyright Richard Butler of www.12MinuteGuides.com The guides are given for educational purposes are designed to be read within 12 minutes. Please note the author supplies these guides to you as is. To keep updated on these guides ensure you sign up to kept informed. To your greater educational success Richard Butler Author 12MinuteGuides.com 1 (C) Richard Butler 2010 http://www.12MinuteGuides.com
  • 2. Introduction to Access [CREATING BASIC QUERIES] Getting Started With Queries The following box appears: Press OK 2 (C) Richard Butler 2010 http://www.12MinuteGuides.com
  • 3. Introduction to Access [CREATING BASIC QUERIES] From this screen choose the fields you wish to use in your query To select all fields click on the >> button This brings all fields over 3 (C) Richard Butler 2010 http://www.12MinuteGuides.com
  • 4. Introduction to Access [CREATING BASIC QUERIES] Your screen should look like this 4 (C) Richard Butler 2010 http://www.12MinuteGuides.com
  • 5. Introduction to Access [CREATING BASIC QUERIES] The next screen can be left as it is 5 (C) Richard Butler 2010 http://www.12MinuteGuides.com
  • 6. Introduction to Access [CREATING BASIC QUERIES] The final screen appears: Once you click finish the following screen will appear. Note your query has been set up now you have to actually tell the database what you are searching for. 6 (C) Richard Butler 2010 http://www.12MinuteGuides.com
  • 7. Introduction to Access [CREATING BASIC QUERIES] Decide what you are to search for and enter in the appropriate field. Remember if for example you are looking for dominant fish you must enter in a type of fish that is contained in the database listing. This query will return information for any lake with Trout in it. Click on the Run button to run the report: It will appear as follows: 7 (C) Richard Butler 2010 http://www.12MinuteGuides.com
  • 8. Introduction to Access [CREATING BASIC QUERIES] Look at the left hand side of the screen You will see a new icon which is the query icon: Close of the query by clicking on the box in the right corner of the right hand window: If you don’t do this it may cause an error message to appear Save the query when asked: 8 (C) Richard Butler 2010 http://www.12MinuteGuides.com
  • 9. Introduction to Access [CREATING BASIC QUERIES] Now that you have the query you can create a report based on it Go to the Create ribbon and choose the Report Wizard as shown below: The following appears: Ensure you choose the query you wish to create the report from. Bring all the fields across as before and then click on Next 9 (C) Richard Butler 2010 http://www.12MinuteGuides.com
  • 10. Introduction to Access [CREATING BASIC QUERIES] The following appears: Click Next 10 (C) Richard Butler 2010 http://www.12MinuteGuides.com
  • 11. Introduction to Access [CREATING BASIC QUERIES] From the following screen click Next 11 (C) Richard Butler 2010 http://www.12MinuteGuides.com
  • 12. Introduction to Access [CREATING BASIC QUERIES] From the final screen click Finish The report is now created and will appear on the left hand side: 12 (C) Richard Butler 2010 http://www.12MinuteGuides.com
  • 13. Introduction to Access [CREATING BASIC QUERIES] Modifying A Query You can modify existing queries by double clicking on them from the left hand side of the screen When it appears you may need to go into design view Do this by clicking on the button below found on the Home ribbon In this example we are going to run a query based on three criteria. All criteria must be satisfied in order for results to be show. The criteria below are: Distance of lake from hotel 4km Dominant fish Trout Boats for hire Yes The query would look like the one below. Note there is no need to put the km in after the 4 Entering in the above and press the Run icon will display the results (if any) 13 (C) Richard Butler 2010 http://www.12MinuteGuides.com