Microsoft Office TrainingThe UK's Number 1 for Microsoft Office Training Sitemap add this page to your favourites/bookmarksBookmark page
 
view a printable version of this pagePrintable version
Plus One Google
Customer: Sign in
Delegate: Sign in
Trainer: Log in

articleData validation in MS Access

Amongst the many topics that will be covered by a Microsoft Access training course, one of the key subjects will be data validation. Validating data in MS Access allows you to check data whilst it is being entered by the database operator and will prohibit the data from being saved if it breaks any validation rules or routines.

Errors and omissions easily occur when data is being entered by a user, so the need to check the data when it is being entered is important. Allowing invalid data to be entered into a database ensures that the database and the data available will become less valuable or corrupt, and it will be more difficult for the user to make use of.

The two most important types of data validation are:

Field level validation

Field level validation allows for data validation in an individual field. MS Access will not allow you to store the incorrect type of data in a field if the data type is not appropriate for the field's pre-defined/ built-in data type.

For example: a field that needs to be filled that refers to 'Name' could have the following validations: it should not be left blank; it should exclude numbers or other special characters; it should have a maximum length. These validations are performed to ensure that incorrect information is not accepted by the database.

You would choose field level validation when:
- You require a specific type of information to be entered into a field
- You want to validate the data entered into a specific field independently of any other data in the database.

Record level validation

Data is validated from more than one field with reference to each other so as to ensure correct data input. An example in an 'employee details' database would be where the retirement date of an employee cannot be the same as the start date, or in another database where a value in a field is always greater than another in the same record.

You would choose record level validation when:
- You want to limit or control the type of data a user can enter in a database or record
- You want to compare the values of two or more fields in the same database or record to ensure they comply with the rules for the database

Microsoft Access provides several methods of how to check the data being entered, two of which are the ValidationRule property and the Required property.

ValidationRule property

This can be used to specify requirements for data entered into a record or a field. If data entered violates the validation rule a specific message, set by using the validation text property, can be displayed to let the user know of the incorrect entry. If the validation text option is not selected a standard error message will be displayed.

Required property

This function can be used to specify whether a value is required in a field, thereby ensuring that the field to be filled in is not left empty. MS Access will display an error message when a required field is left blank or data is removed from a field where data should be entered.

Author is a freelance copywriter. For more information on ms access training, please visit http://www.microsofttraining.net


Original article appears here:
http://www.microsofttraining.net/article-419-ms-access-training.html


Back to article list

Distribution notes

PUBLICATION GUIDELINES

  • You have permission to publish this article for free providing the "About the Author" box is included in its entirety.
  • Do not post/reprint this article in any site or publication that contains hate, violence, porn, warez, or supports illegal activity.
  • Do not use this article in violation of the US CAN-SPAM Act. If sent by email, this article must be delivered to opt-in subscribers only.
  • If you publish this article in a format that supports linking, please ensure that all URLs and email addresses are active links, without the rel='nofollow' tag.
  • Software Training London Ltd. owns this article. Please respect the author's copyright and above publication guidelines.
  • If you do not agree to these terms, please do not use this article.

Rate this page:
2.8/5 (129 votes cast)
Accredited Training Provider: Institute of IT Training Institute of Leadership and Management - Certified Courses
Microsoft Certified Partner
Security Seal verified by visa, mastercard securecard

Mini sitemap. These are the main areas of our web site. Full sitemap.

Management training

Professional Skills courses
Project Management Course London
Project Management Courses London
Project Management Training London
Project Management Training
Project Seminar
Project Seminars
Time Management Course London
Time Management London
Time Management Courses London
Time Management Training London
Introduction to Finance course
Assertiveness Skills course
Effective Communications Skills training
Presentation Skills London

Training Formats

Public scheduled courses
On-site training
Closed company courses

Consultancy
Application Development

Blogs

Excel Training
MS Project Training
Microsoft Training Blog

Version differences

Office 2010 vs 2007
MS Project version differences

Training Information

London Computer Training
Computer Training London
Docklands Training Courses
Docklands Training London

Training venues London
Client list
FAQ
Pricing and availability
Course details / Syllabus

Training Articles
Training Information

Microsoft training

Microsoft Office training
& IT Applications

Microsoft Project training
Microsoft Outlook training
Microsoft Powerpoint training
Microsoft Word training
MS Project courses
MS Project training
Outlook courses
PowerPoint courses
PowerPoint training
VBA courses
Word courses
Microsoft.training
(more...)

Excel Training

Excel courses
Excel Training Courses Medway
Autonumber in Excel
Microsoft Excel training
Basic Excel Courses
Basic Excel Course
Basic Excel Training

Interested in MS Access training?

Access courses
Microsoft Access training
Microsoft access courses
Microsoft training access course
Microsoft+access+training
Access courses in london

Training provider

Training providers
IT training companies
IT training providers
Management Training providers
Management Training provider

Event history, feedback results
Events in 2012 · 2011 · 2010 · More

See also

Crystal Reports training