microsoft access help database programing developer
Back to Access Experts About Access Experts Access Experts Websites Access Experts Team Access Experts Services Access Experts Case Studies Access Expert Tips Contact Access Experts OUR BLOG
 
 
Tips for designing SQL Server tables for Microsoft Access
by Juan Soto
07/24/2010

Applies to all versions of Access

We LOVE using SQL Server with Access! I frequently mention that SQL Server Express was the best thing to happen for Access, the two combined have the best 1-2 punch in the industry.

I encourage you to explore using both technologies, or better yet, hire us to do the legwork. Here are some table design tips that will make it easy for you to integrate Access with SQL Server:

  • When converting Yes/No fields to SQL, use the Bit data type and set the default value to zero, (0). This means the default value will be false unless you set it to true in Access. Keep that in mind as you use the fields in Access.
  • Create Indexes for foreign keys. Unlike Access, you must create your own indexes for primary keys coming from other tables.
  • Always add a TimeStamp field to your tables. Otherwise you'll start running into issues with multiple users and large amount of records. The timestamp field is a special field in SQL Server and it's used by Access to determine when the record was last updated. Don't use the field for anything in your forms, reports, code or queries, it will not work.
  • Use Money field type when you need a field with decimal places and the precision needed is 4 or less decimal places.

I hope these tips can help you with your database, and if you ever need to host your database with us, please click here for more information: http://www.accessexperts.net/service-hosting.php


If you like this tip you will be delighted with our service! Call or write us today for a free quote regarding your computer needs.

Publish this article in your own corporate newsletter or publication! Contact us to obtain a free license.


Home | About Us Why PCExperts | Team | Services | Newsletter | Contact Us
Copyright © 2004