Affiliates

Amazon.com


Popular Microsoft Access Books

Building Microsoft Access Applications
Building Microsoft Access Applications
Author: John L. Viescas 

Access 2003 All-in-One Desk Reference for Dummies
Access 2003 All-in-One Desk Reference for Dummies
Author: Alan Simpson 

Access 2003 for Dummies
Access 2003 for Dummies
Author: John Kaufeld 

Office 2007 All-in-One Desk Reference For Dummies
Office 2007 All-in-One Desk Reference For Dummies
Author: Peter Weverka 

Microsoft Office Access 2003 Step by Step
Microsoft Office Access 2003 Step by Step
Author: Online Training Solutions Inc. 

Access 2007 Bible
Access 2007 Bible
Author: Michael R. Groh 

Microsoft Office Access
Microsoft Office Access
Author: Steve Lambert 

Beginning Access 2003 VBA
Beginning Access 2003 VBA
Author: Denise M. Gosnell 

Microsoft Office Access 2003
Microsoft Office Access 2003
Author: Gary B. Shelly, Thomas J. Cashman.... 

Popular MS Access Related Websites

Microsoft Corporation 













Microsoft Access 2007 Tutorials for beginners    

Welcome to MS Tips and Tricks
Welcome to MS Tips and Tricks - You are at the right place if you need tutorials for beginners - Online Microsoft Access tutorials for beginners, covering the following categories - Databases, Customization, Table, Forms, Queries, Reports, etc.,

  Microsoft Access Tips and Tricks for beginners
 
11) When you close the datasheet view. A window asking for save changes will appear.
 
12) Open the Areas table in Design View. As you can see, this table does not have a Primary key. Select the AreaId field and create a primary key.
 
Illustration 5: Press the Primary key command to create the key.
 
13) Close the Design view window and try to save changes.
 
Illustration 6: Press the YES button.
 
14) Close the Design view window and try to save changes.
 
Illustration 7: Error message raised by the application.  Click here to view larger image.
 
This error message is indicating that there are duplicates keys for the field selected as Primary Key. As you can see at illustration 3, there are two records with AreaId = 6.
 
15) Open the Areas table in datasheet view and change the AreaId field another value.
 
Illustration 8: Select a non repeated value for the key.
 
16) Repeat the steps to create the primary key and save the changes. This time, you will not receive the error message.
 
17) Try to modify another record by changing the AreaId field and using a duplicated value. You will receive another error message.
 
Illustration 9: When you try to insert a duplicated value in the key field, the error will be raised.  Click here to view larger image.
 

 
Advertisement



Advertisement



Copyright © MS Tips and Tricks
A Division of Gurijala and Company, 2006
Home - Tips and Tricks - Resources - Links - Contact - Site Map - Privacy Policy - Email Webmaster