© boardworks ltd 2010 1 of 9 validation. © boardworks ltd 2010 2 of 9 task 1 – mini test...

11
© Boardworks Ltd 2010 1 of 9 Validation

Upload: adam-woods

Post on 01-Jan-2016

217 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: © Boardworks Ltd 2010 1 of 9 Validation. © Boardworks Ltd 2010 2 of 9 TASK 1 – MINI Test Complete the mini test. The mark will be going towards a Sims

© Boardworks Ltd 20101 of 9

Validation

Page 2: © Boardworks Ltd 2010 1 of 9 Validation. © Boardworks Ltd 2010 2 of 9 TASK 1 – MINI Test Complete the mini test. The mark will be going towards a Sims

© Boardworks Ltd 20102 of 9

TASK 1 – MINI Test

• Complete the mini test. The mark will be going towards a Sims assessment

Page 3: © Boardworks Ltd 2010 1 of 9 Validation. © Boardworks Ltd 2010 2 of 9 TASK 1 – MINI Test Complete the mini test. The mark will be going towards a Sims

© Boardworks Ltd 20103 of 9

Teacher’s notes included in the Notes Page

Flash activity. These activities are not editable. Web addresses

Icons key: For more detailed instructions, see the Getting Started presentation

Functional Skills check

Student task accompanies this slide Printable activity

This lesson will cover:

The basic structure of a database.

Setting up a database using field names.

Understanding different data types.

Page 4: © Boardworks Ltd 2010 1 of 9 Validation. © Boardworks Ltd 2010 2 of 9 TASK 1 – MINI Test Complete the mini test. The mark will be going towards a Sims

© Boardworks Ltd 20104 of 9

Validation

Using data validation effectively will reduce the numberof errors in your database.

What does validation mean?

Page 5: © Boardworks Ltd 2010 1 of 9 Validation. © Boardworks Ltd 2010 2 of 9 TASK 1 – MINI Test Complete the mini test. The mark will be going towards a Sims

© Boardworks Ltd 20105 of 9

Valid data

When data is to be entered, it is important that it is valid data. This means that the data is suitable for its purpose,and it is in the format required.

Setting validation rules will help you to obtain valid data.

If you go into the Design Viewof your database table you can set the validation rules.

You can also add in validation text, which will be displayedif any data entered falls outside your validation rules.

Page 6: © Boardworks Ltd 2010 1 of 9 Validation. © Boardworks Ltd 2010 2 of 9 TASK 1 – MINI Test Complete the mini test. The mark will be going towards a Sims

© Boardworks Ltd 20106 of 9

How do validation rules work?

The field has been set up with validation rules:“Low” Or “Moderate” Or “High”.

If any other data is entered, the following validation text will bedisplayed: Please enter Low, Moderate or High.

This means it will only accept one of these three words as an input.

Page 7: © Boardworks Ltd 2010 1 of 9 Validation. © Boardworks Ltd 2010 2 of 9 TASK 1 – MINI Test Complete the mini test. The mark will be going towards a Sims

© Boardworks Ltd 20107 of 9

Database software

Ways of validating your data include:

Length checks – You can set the field sizeto only accept a set number of characters.

Format checks – Selecting correctdata types and setting a format willallow only certain types of data to be entered.

Range checks – You can create checks to see whether the data inputted falls within a certain range.

Presence check – Setting Requiredto ‘yes’ will ensure the field cannot beleft blank and data must be entered.

Page 8: © Boardworks Ltd 2010 1 of 9 Validation. © Boardworks Ltd 2010 2 of 9 TASK 1 – MINI Test Complete the mini test. The mark will be going towards a Sims

© Boardworks Ltd 20108 of 9

Revision

Page 9: © Boardworks Ltd 2010 1 of 9 Validation. © Boardworks Ltd 2010 2 of 9 TASK 1 – MINI Test Complete the mini test. The mark will be going towards a Sims

© Boardworks Ltd 20109 of 9

Verification

Two common types of data entry error are:

Automatic validation may not spot these. Verification is the process of manually checking that data matches its source. It may involve:

Transposition – 2 digits are entered in the wrong order e.g. 81 is typed instead of 18.

Transcription – a different character is typed in altogether.

Double entry – Data is entered twice and the two copies compared for differences.Proofreading – Data is manually checked against the original.

What advantages/disadvantages might these have?

Page 10: © Boardworks Ltd 2010 1 of 9 Validation. © Boardworks Ltd 2010 2 of 9 TASK 1 – MINI Test Complete the mini test. The mark will be going towards a Sims

© Boardworks Ltd 201010 of 9

Validation

Page 11: © Boardworks Ltd 2010 1 of 9 Validation. © Boardworks Ltd 2010 2 of 9 TASK 1 – MINI Test Complete the mini test. The mark will be going towards a Sims

© Boardworks Ltd 201011 of 9

Tasks for this lesson & homework

Complete

1.Task 1 Identify Validation Method

2.Task 2 Validation Definitions

3.Task 3 Validation_Student_Task

DUE NEXT LESSON