Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

Previous article   Next article back to categoryAccess articles

Microsoft Access Mistakes to Avoid

Wed 22nd August 2007

You finish Microsoft Access database training and head back to work, confident you can create powerful databases that will make your job easier. You quickly discover that the workplace is not the classroom and things aren't as easy as when the instructor did it.

Your Access database training doesn't stop after one course. Further courses introduce new techniques, but nothing substitutes for experience. To save you headaches, here are some common mistakes to avoid.

Making a field the wrong data type


Your Access database training showed you the different data types but sometimes the obvious type is not the correct one. A telephone number is made up of numbers so should be a numeric field, right? Wrong. Numeric fields are for values that might be used in calculations. A telephone number field should actually be assigned a text data type.

Using one table for all data

Many people new to Access database training have trouble embracing the concepts of a relational database. For example, an invoice contains customer information, the list of products purchased, and the invoice information such as date of purchase. New users picture an invoice in their heads and try to fit all that information into one table.

This creates redundant information and wasted space. Customer and product information are repeated for every invoice rather than just entered once.

Advanced Access database training illustrates that the correct way to accomplish this is by creating three tables: invoices, customers, and products. Each item has a unique identifier, such as InvoiceID, CustomerID, and ProductID respectively. Each item is entered only once but the invoice objects tie them all together.

Putting too much data into a field

Another error made by new users is to combine too much information into one field. For example a car mechanic might put the year, make, and model of customer cars all into one field. This becomes a problem if he wants to find all vehicles made before 1995 or all Subaru owners. Your Access database training shows how easy it is to combine fields on an invoice or report, so always ask yourself if this information might be better separated into different fields.

Using default field sizes

You may have learned in your Access database training that text fields have a default length of 50. Consider how long a field needs to be and set the field length accordingly rather than taking the default. If your customer ID is 8 characters long, then allotting 50 characters is just wasteful. It may not seem like much but over many fields in many customer records your database will become huge and slow to load.

A similar concern applies to number fields. Number fields default to long integer which, as you may have learned in your Access database training, means it holds no decimal places and holds values in the approximate range of +/- 2,000,000. If you are storing smaller numbers, an integer or even a byte value will save space. If you need to store decimal places, then a single or double is more appropriate.

Author is a freelance copywriter. For more information on Access database training, please visit https://www.stl-training.co.uk

Original article appears here:
https://www.stl-training.co.uk/article-215-microsoft-access-mistakes-avoid.html

Back to article list

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.

Access courses in London and UK wide.

» Next available dates

 

Training courses

 

London's widest choice in
dates, venues, and prices

Public Schedule:

Buy now / Live dates

On-site / Closed company:

Get quote

Testimonials

More testimonials

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.34 secs.