Skip to Content
Access® 2007 For Dummies®
book

Access® 2007 For Dummies®

by Laurie Ulrich Fuller, Ken Cook, John Kaufeld
December 2006
Intermediate to advanced
409 pages
8h 3m
English
Wiley
Content preview from Access® 2007 For Dummies®

Chapter 4. Keys, Relationships, and Indexes

In This Chapter

  • Uniquely identifying your records with a primary key

  • Understanding relationships

  • Building relationships between your tables

  • Indexing for faster queries

Life in today's world is all about doing things faster and more efficiently to increase productivity. Isn't that what your life is about? Oh, you have a life outside the office, too? Maybe you have a relationship? This chapter is about making your databases faster and about building good relationships (the database kind, not the human kind!).

As with any good relationship, the end result is often harmony and happiness. Making your Access tables work well together will make things so much easier in so many ways as you move on to build your queries, forms, and reports. The good news is that building relationships in Access takes a lot less time than building human relationships.

How can you make Access work faster and more efficiently? With key fields and indexes, that's how! Each table should have that one special field assigned as a primary key. A primary key prevents duplicate records from being entered into a table — hence, more efficient data entry. (I love the word hence!) To retrieve your data faster, you need to create the proper balance of indexes for each table. Not enough indexes, and querying 100,000 records will take forever; too many, and the same could be true. So, assigning indexes to the correct fields is an art form. You find out all about the art of indexes in ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Access™ 2007 Bible

Access™ 2007 Bible

Cary N. Prague, Michael R. Irwin, Michael R. Groh, Jennifer Reardon, Joseph C. Stockman, Gavin Powell

Publisher Resources

ISBN: 9780470046128Purchase book