Logo
HOW TO
Windows XP
Windows Vista
Windows 7
Windows Azure
Windows Server
Windows Phone
 
 
Windows 7

Microsoft Access 2010 : Creating a New Table Using Application Parts, Setting a Primary Key

11/26/2012 4:21:45 PM

1. Creating a New Table Using Application Parts

Access 2010 enables you to create databases and fields using templates. One new capability in Access 2010, Application Parts, enables you to create a table and several related forms, queries, and reports that display and summarize the data from that table. For example, if you want to maintain a list of contacts, you can use the Access 2010 Contacts Application Part to create a Contacts table, three forms, a query, and four reports to view your contacts, display a phone list, and create address labels based on that information.

1.1. Create a Table, Forms, and Reports Using Application Parts

  1. Click the Create tab.

  2. Click Application Parts.

  3. Click the Application Part you want to use.

  4. Select the There Is No Relationship option.

  5. Click Create.


Note:

If the Application Part you used relates to an existing table in your database, such as if your Contacts table tracks your contacts with the individuals named in your Customers table, you can use the Create Relationship Wizard to define that relationship.

2. Setting a Primary Key

One aspect of sound table design is to have a field (or group of fields) with a value unique to each row in the table. The fields that have the unique value are called the primary key field(s). Because each row’s primary key field (or fields) contains a unique value, Access 2010 can distinguish each row from all the other rows in the table. Why is that important? Consider what would happen if a store used your phone number to identify you when you called in to place an order. If you change phone numbers and the next person assigned your phone number calls in before you do, the store replaces your information with the new caller’s, potentially wiping out any record you had of doing business with the store.

2.1. Assign a Primary Key

  1. Display the tables in your database.

  2. Right-click the desired table.

  3. Click Design View.

  4. Click any cell in the row representing the field to be the primary key.

  5. Make sure the Design tab is displayed, and click the Primary Key button.

  6. Click the Save button to save your work.

  7. Click the Close box.


Note:

The primary key shouldn’t contain meaningful information. The best value for a primary key field is a number that Access 2010 increments for each row in a table. That type of field is called an AutoNumber field.



Note:

You can create a multiple-field primary key by Ctrl-clicking the row selectors of the fields you want to include in the primary key.

Other -----------------
- Microsoft Visio 2010 : Organizing and Annotating Diagrams - Markup & Review
- Microsoft Visio 2010 : Organizing and Annotating Diagrams - Layers
- Microsoft PowerPoint 2010 : Animating Slide Content (part 5) - Animating Parts of a Chart, Animation Tips
- Microsoft PowerPoint 2010 : Animating Slide Content (part 4) - Working with Motion Paths
- Microsoft PowerPoint 2010 : Animating Slide Content (part 3) - Setting Animation Event Triggers, Associating Sounds with Animations, Making an Object Appear Differently after Animation
- Microsoft PowerPoint 2010 : Animating Slide Content (part 2) - Special Options for Text Animation
- Microsoft PowerPoint 2010 : Animating Slide Content (part 1) - Choosing an Animation Effect
- Microsoft PowerPoint 2010 : Assigning Transitions to Slides
- Microsoft Excel 2010 : Using Formulas - Entering a Formula
- Microsoft Excel 2010 : Using Formulas - The Importance of Laying Data Out Properly, Formulas Versus Values
 
 
REVIEW
- First look: Apple Watch

- 10 Amazing Tools You Should Be Using with Dropbox

- 3 Tips for Maintaining Your Cell Phone Battery (part 1)

- 3 Tips for Maintaining Your Cell Phone Battery (part 2)
 
VIDEO TUTORIAL
- How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010 (Part 1)

- How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010 (Part 2)

- How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010 (Part 3)
 
Popular tags
Microsoft Access Microsoft Excel Microsoft OneNote Microsoft PowerPoint Microsoft Project Microsoft Visio Microsoft Word Active Directory Biztalk Exchange Server Microsoft LynC Server Microsoft Dynamic Sharepoint Sql Server Windows Server 2008 Windows Server 2012 Windows 7 Windows 8 Adobe Indesign Adobe Flash Professional Dreamweaver Adobe Illustrator Adobe After Effects Adobe Photoshop Adobe Fireworks Adobe Flash Catalyst Corel Painter X CorelDRAW X5 CorelDraw 10 QuarkXPress 8 windows Phone 7 windows Phone 8 BlackBerry Android Ipad Iphone iOS
Popular keywords
HOW TO Swimlane in Visio Visio sort key Pen and Touch Creating groups in Windows Server Raid in Windows Server Exchange 2010 maintenance Exchange server mail enabled groups Debugging Tools Collaborating
Top 10
- Microsoft Excel : How to Use the VLookUp Function
- Fix and Tweak Graphics and Video (part 3) : How to Fix : My Screen Is Sluggish - Adjust Hardware Acceleration
- Fix and Tweak Graphics and Video (part 2) : How to Fix : Text on My Screen Is Too Small
- Fix and Tweak Graphics and Video (part 1) : How to Fix : Adjust the Resolution
- Windows Phone 8 Apps : Camera (part 4) - Adjusting Video Settings, Using the Video Light
- Windows Phone 8 Apps : Camera (part 3) - Using the Front Camera, Activating Video Mode
- Windows Phone 8 Apps : Camera (part 2) - Controlling the Camera’s Flash, Changing the Camera’s Behavior with Lenses
- Windows Phone 8 Apps : Camera (part 1) - Adjusting Photo Settings
- MDT's Client Wizard : Package Properties
- MDT's Client Wizard : Driver Properties
 
Windows XP
Windows Vista
Windows 7
Windows Azure
Windows Server
Windows Phone
2015 Camaro