SlideShare ist ein Scribd-Unternehmen logo
1 von 6
Mrs Neal                                                                     May 2004

                    ADVANCED ACCESS SKILLS

Introduction

This guide will help you to develop your MS Access skill to an advanced level. You are
required to demonstrate your abilities within the implementation section of your
project. You are expected to implement your solution unaided, to a high quality with
no defects.

Scenario

A local Beauty Spa currently records all appointments manually. The Spa has six
Beauty consultants all are able to provide treatments on offer. The computerised
system must prevent double-bookings, be easy to use and re-useable.

Tables

Task 1. Create the following tables, using appropriate use of validation rules, input
masks, field sizes, indexes, default values and the required option:
Mrs Neal                                                                  May 2004

Indexes

No                       Don’t index the field
Yes (DuplicatesOK)       Most of the time you want to allow duplicate
                         records.
Yes (No Duplicates)      Key fields should be set to No Duplicates
                         because a key field must be unique. You don’t
                         want two customers with the same customer
                         number.


Validation

At A Level standard you should be creating validation rules and validation text
(message that is displayed to user if data is incorrect) along side input masks to
ensure the integrity of data entered into your database. Below are some examples of
how validation can be used. You can mix and match the operators as appropriate:

  Field               Validation Rule                      Definition
  Type
Number       >10                                Must be greater than 10
Number       <> 12                              Cannot be 12
Number       >=5                                Greater then or equal t5
Number       > 20 And < 200                     Must be between 20 and 200
                                                (non inclusive)
Number       >= 20 And <=200                    Must be between 20 and 200
                                                (inclusive)
Number       <= 30 Or >=100                     Must be lower than 30 or
                                                greater than 100 (inclusive)
Date         >= Date ()                         Must be today’s date or later
Date         >= Date () or Is Null              Must be today’s date, later or
                                                blank
Date         < Date ()                          Must be earlier than today’s
                                                date
Date         >= #1/1/96# And <#1/1/97#          Must be a date in 1996
Text         Like "A????"                       Entry must contain 5 characters
                                                and start with the letter A
Mrs Neal                                                                   May 2004


Input Masks

At A Level standard you should be creating inputs marks yourself and not using the
wizard. Few projects are more gratifying than making things yourself. All input
masks must be shown on your table designs. Below are the codes most commonly
used:

   Required Action           Required Code            Optional Code
Numbers 0-9 only                     0                        9
Letters A to Z only                  L                        ?
Letters or numbers                   A                        a
Any character or space               &                        C


Relationships

Task 2. Create the following relationships, click the Relationships
icon:




                                                        Linking
                                                        tbl_Avaliable_Appointments
                                                        to tbl_Client_Appointments
Mrs Neal                                                       May 2004


Data Entry

Task 3. Enter the following records into appropriate tables:
Mrs Neal                                                                May 2004

Queries

The main functionality of this system is to allow appointment booking and prevent
double bookings. The first set of queries are use to prevent double bookings of
appointments – solution given by http://www.advanced-ict.info/

Task 4. The first query locates appointments that have been booked for a certain
therapist on a certain date. Create this query as shown below:




Task 5. You now need to create a query that searches for appointments that have
been booked on a particular day and deletes these from available appointments:

           The query includes tbl_Avaliable_Appointments and qry_appointments-on-
           certain-dates – you must add these tables.

           Create a relationship between the tables.

           Right-click and select Join Properties.

           Select the second option – Include ALL
           records and click OK.
Mrs Neal                                                                      May 2004


           Complete the query by entering the following criteria:




   Task 6. Your system is required to be reusable – within this task you will learn
   how to archive data that is no longer needed. Archiving reduces information load
   within the main table. You will need to create two advanced queries to perform
   this operation.

           Within the database window – right-click tbl_Client_Appointments and
           select Copy:

           Right-click again and select Paste.

           Type in the following table name:




           Start a new query, add tble_Client_Appointments and select all fields.

Select Query from the toolbar and choose Append Query:

Weitere ähnliche Inhalte

Ähnlich wie Doublebookings1

Excel Project – Matrix ApplicationsPart 1 – CryptographyMatr.docx
Excel Project – Matrix ApplicationsPart 1 – CryptographyMatr.docxExcel Project – Matrix ApplicationsPart 1 – CryptographyMatr.docx
Excel Project – Matrix ApplicationsPart 1 – CryptographyMatr.docx
SANSKAR20
 
Tableau Basic ModuleModule 6 CalculationsThis class demonst.docx
Tableau Basic ModuleModule 6 CalculationsThis class demonst.docxTableau Basic ModuleModule 6 CalculationsThis class demonst.docx
Tableau Basic ModuleModule 6 CalculationsThis class demonst.docx
ssuserf9c51d
 
I.Multiple Choice 20 Questions worth 1 point each..docx
I.Multiple Choice 20 Questions worth 1 point each..docxI.Multiple Choice 20 Questions worth 1 point each..docx
I.Multiple Choice 20 Questions worth 1 point each..docx
jewisonantone
 
CS1100 Access Lab 1 Creating and Querying Database.docx
CS1100 Access Lab 1  Creating and Querying Database.docxCS1100 Access Lab 1  Creating and Querying Database.docx
CS1100 Access Lab 1 Creating and Querying Database.docx
faithxdunce63732
 
Part 1 of 1 -Question 1 of 205.0 PointsThe first step anyo.docx
Part 1 of 1 -Question 1 of 205.0 PointsThe first step anyo.docxPart 1 of 1 -Question 1 of 205.0 PointsThe first step anyo.docx
Part 1 of 1 -Question 1 of 205.0 PointsThe first step anyo.docx
danhaley45372
 

Ähnlich wie Doublebookings1 (20)

10 Time Saving Excel Data Entry Hacks for Small Business Owners
10 Time Saving Excel Data Entry Hacks for Small Business Owners10 Time Saving Excel Data Entry Hacks for Small Business Owners
10 Time Saving Excel Data Entry Hacks for Small Business Owners
 
Excel Project – Matrix ApplicationsPart 1 – CryptographyMatr.docx
Excel Project – Matrix ApplicationsPart 1 – CryptographyMatr.docxExcel Project – Matrix ApplicationsPart 1 – CryptographyMatr.docx
Excel Project – Matrix ApplicationsPart 1 – CryptographyMatr.docx
 
Tableau Basic ModuleModule 6 CalculationsThis class demonst.docx
Tableau Basic ModuleModule 6 CalculationsThis class demonst.docxTableau Basic ModuleModule 6 CalculationsThis class demonst.docx
Tableau Basic ModuleModule 6 CalculationsThis class demonst.docx
 
Da 100-questions
Da 100-questionsDa 100-questions
Da 100-questions
 
Final Project Python - Elyada Wigati Pramaresti.pptx
Final Project Python - Elyada Wigati Pramaresti.pptxFinal Project Python - Elyada Wigati Pramaresti.pptx
Final Project Python - Elyada Wigati Pramaresti.pptx
 
100-Excel-Tips.pdf
100-Excel-Tips.pdf100-Excel-Tips.pdf
100-Excel-Tips.pdf
 
MS Access 2007 in ITT
MS Access 2007 in ITTMS Access 2007 in ITT
MS Access 2007 in ITT
 
284566820 1 z0-061(1)
284566820 1 z0-061(1)284566820 1 z0-061(1)
284566820 1 z0-061(1)
 
SQL practice questions set - 2
SQL practice questions set - 2SQL practice questions set - 2
SQL practice questions set - 2
 
How to prevent duplicate values in a range nta
How to prevent duplicate values in a range ntaHow to prevent duplicate values in a range nta
How to prevent duplicate values in a range nta
 
I.Multiple Choice 20 Questions worth 1 point each..docx
I.Multiple Choice 20 Questions worth 1 point each..docxI.Multiple Choice 20 Questions worth 1 point each..docx
I.Multiple Choice 20 Questions worth 1 point each..docx
 
70 433
70 43370 433
70 433
 
Elementary Data Analysis with MS Excel_Day-4
Elementary Data Analysis with MS Excel_Day-4Elementary Data Analysis with MS Excel_Day-4
Elementary Data Analysis with MS Excel_Day-4
 
50 MS Excel Tips and Tricks
50 MS Excel Tips and Tricks 50 MS Excel Tips and Tricks
50 MS Excel Tips and Tricks
 
CS1100 Access Lab 1 Creating and Querying Database.docx
CS1100 Access Lab 1  Creating and Querying Database.docxCS1100 Access Lab 1  Creating and Querying Database.docx
CS1100 Access Lab 1 Creating and Querying Database.docx
 
Cpp Homework Help
Cpp Homework Help Cpp Homework Help
Cpp Homework Help
 
Apex Nirvana
Apex NirvanaApex Nirvana
Apex Nirvana
 
Part 1 of 1 -Question 1 of 205.0 PointsThe first step anyo.docx
Part 1 of 1 -Question 1 of 205.0 PointsThe first step anyo.docxPart 1 of 1 -Question 1 of 205.0 PointsThe first step anyo.docx
Part 1 of 1 -Question 1 of 205.0 PointsThe first step anyo.docx
 
Cookbook Oracle SOA Business Rules
Cookbook Oracle SOA Business RulesCookbook Oracle SOA Business Rules
Cookbook Oracle SOA Business Rules
 
Comp 122 lab 6 lab report and source code
Comp 122 lab 6 lab report and source codeComp 122 lab 6 lab report and source code
Comp 122 lab 6 lab report and source code
 

Mehr von JTHSICT

Year 8 sow 2012 2013
Year 8 sow 2012 2013Year 8 sow 2012 2013
Year 8 sow 2012 2013
JTHSICT
 
E book example
E book exampleE book example
E book example
JTHSICT
 
Lookup table
Lookup tableLookup table
Lookup table
JTHSICT
 
Doublebookings2
Doublebookings2Doublebookings2
Doublebookings2
JTHSICT
 
Password
PasswordPassword
Password
JTHSICT
 
Naming conventions
Naming conventionsNaming conventions
Naming conventions
JTHSICT
 
Normalization
NormalizationNormalization
Normalization
JTHSICT
 
Calendar
CalendarCalendar
Calendar
JTHSICT
 

Mehr von JTHSICT (15)

Year 8 sow 2012 2013
Year 8 sow 2012 2013Year 8 sow 2012 2013
Year 8 sow 2012 2013
 
E book example
E book exampleE book example
E book example
 
Lookup table
Lookup tableLookup table
Lookup table
 
Doublebookings2
Doublebookings2Doublebookings2
Doublebookings2
 
Password
PasswordPassword
Password
 
Macros
MacrosMacros
Macros
 
Naming conventions
Naming conventionsNaming conventions
Naming conventions
 
Access1
Access1Access1
Access1
 
Access2
Access2Access2
Access2
 
Access3
Access3Access3
Access3
 
Access5
Access5Access5
Access5
 
Access4
Access4Access4
Access4
 
Normalization
NormalizationNormalization
Normalization
 
Calendar
CalendarCalendar
Calendar
 
It4 Coursework Help
It4 Coursework HelpIt4 Coursework Help
It4 Coursework Help
 

Kürzlich hochgeladen

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 

Kürzlich hochgeladen (20)

How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 

Doublebookings1

  • 1. Mrs Neal May 2004 ADVANCED ACCESS SKILLS Introduction This guide will help you to develop your MS Access skill to an advanced level. You are required to demonstrate your abilities within the implementation section of your project. You are expected to implement your solution unaided, to a high quality with no defects. Scenario A local Beauty Spa currently records all appointments manually. The Spa has six Beauty consultants all are able to provide treatments on offer. The computerised system must prevent double-bookings, be easy to use and re-useable. Tables Task 1. Create the following tables, using appropriate use of validation rules, input masks, field sizes, indexes, default values and the required option:
  • 2. Mrs Neal May 2004 Indexes No Don’t index the field Yes (DuplicatesOK) Most of the time you want to allow duplicate records. Yes (No Duplicates) Key fields should be set to No Duplicates because a key field must be unique. You don’t want two customers with the same customer number. Validation At A Level standard you should be creating validation rules and validation text (message that is displayed to user if data is incorrect) along side input masks to ensure the integrity of data entered into your database. Below are some examples of how validation can be used. You can mix and match the operators as appropriate: Field Validation Rule Definition Type Number >10 Must be greater than 10 Number <> 12 Cannot be 12 Number >=5 Greater then or equal t5 Number > 20 And < 200 Must be between 20 and 200 (non inclusive) Number >= 20 And <=200 Must be between 20 and 200 (inclusive) Number <= 30 Or >=100 Must be lower than 30 or greater than 100 (inclusive) Date >= Date () Must be today’s date or later Date >= Date () or Is Null Must be today’s date, later or blank Date < Date () Must be earlier than today’s date Date >= #1/1/96# And <#1/1/97# Must be a date in 1996 Text Like "A????" Entry must contain 5 characters and start with the letter A
  • 3. Mrs Neal May 2004 Input Masks At A Level standard you should be creating inputs marks yourself and not using the wizard. Few projects are more gratifying than making things yourself. All input masks must be shown on your table designs. Below are the codes most commonly used: Required Action Required Code Optional Code Numbers 0-9 only 0 9 Letters A to Z only L ? Letters or numbers A a Any character or space & C Relationships Task 2. Create the following relationships, click the Relationships icon: Linking tbl_Avaliable_Appointments to tbl_Client_Appointments
  • 4. Mrs Neal May 2004 Data Entry Task 3. Enter the following records into appropriate tables:
  • 5. Mrs Neal May 2004 Queries The main functionality of this system is to allow appointment booking and prevent double bookings. The first set of queries are use to prevent double bookings of appointments – solution given by http://www.advanced-ict.info/ Task 4. The first query locates appointments that have been booked for a certain therapist on a certain date. Create this query as shown below: Task 5. You now need to create a query that searches for appointments that have been booked on a particular day and deletes these from available appointments: The query includes tbl_Avaliable_Appointments and qry_appointments-on- certain-dates – you must add these tables. Create a relationship between the tables. Right-click and select Join Properties. Select the second option – Include ALL records and click OK.
  • 6. Mrs Neal May 2004 Complete the query by entering the following criteria: Task 6. Your system is required to be reusable – within this task you will learn how to archive data that is no longer needed. Archiving reduces information load within the main table. You will need to create two advanced queries to perform this operation. Within the database window – right-click tbl_Client_Appointments and select Copy: Right-click again and select Paste. Type in the following table name: Start a new query, add tble_Client_Appointments and select all fields. Select Query from the toolbar and choose Append Query: