Validations explained

5
Validations

description

OCR Nationals Unit 1

Transcript of Validations explained

Page 1: Validations explained

Validations

Page 2: Validations explained

What is a validation?

Computer checkdata

enteredcompletesensible

Page 3: Validations explained

Validation TypesData Type or Format checkData is the right type e.g. real or integer number, text, Memo, Yes/No

Presence check Checks that important fields are not left blank

Length Checks/ Character countFixes the number of characters you can type into a field

Page 4: Validations explained

Validation TypesRange ChecksNumbers must be of a certain range

Lookup lists / Drop down listsA list containing only certain values

Input Masks A special type of format check – data must be in a set form eg 03JAN

Page 5: Validations explained

What software uses validations?

• Databases• Spreadsheets• Programming software eg javascript etc