Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 4

8.5.

2 Worksheet A
Theory
1a Explain the term “Validation”
_________to make
sure the user
___________________
___________________
________
1b Explain the term “Validation
text”
___________________
___________________
_________________

2 Identify three features of a


‘useful’ error message.

____________________
____________________
__________________
____________________
____________________
__________________
3 Identify
appropriate
validation checks
for each field in the
database design
below. The
database will keep
track of patient
appointments and
treatments at a
dental surgery. You
may use the same
check for several
fields.

Presence check Length check Format check


Range check Type check Lookup

Fill in the last row


of the table above
with appropriate
validation checks.

PatientID Firstname Surname Date Time Treatment Cost


Number Date Must be Can be Must be
assigned format between only: $
automaticall 9 a.m. and Costs
y by
6 p.m. • Check- are
Informat software
ion
up between
(no need • X-ray $20 and
to add $200
anything

here)
Hygienis
t
• Filling

Validatio Autonumber EXAMPLE


n checks data type so
(add info no
:
in the validation
columns
with a
required ___ - Presence ___ ___ ___ ___
check
line). An
example
is done - Format
for you. check

Practice

Open this link and follow the


steps. You will need to
download a MS Access file
and implement some
validation checks. Download
database. Please, add your
screenshots below:

ADD a SCREENSHOT of PRACTICE


2: Error message when not
entering initials (student and
tutor):

ADD a SCREENSHOT of PRACTICE


3: Error message when one of
the students’ surnames is
more than 25 characters:

ADD a SCREENSHOT of PRACTICE


4 A: Error message when one
student’s year group is not
between 7 and 11:
ADD a SCREENSHOT of PRACTICE
4 B: Error message when a
student’s SessionDate occurs
in the past:

ADD a SCREENSHOT of PRACTICE


5 Method 1: Error message
when user enters something
other than “Online” OR
“InPerson”:

PRACTICE 5 Method 2:
How do input masks work? Give
an example of an input mask
that you used during the
practice and what effect it had
on the data you entered.

You might also like