Logo
programming4us
programming4us
programming4us
programming4us
Home
programming4us
XP
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server
programming4us
Windows Phone
 
programming4us
Windows 7

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

- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019
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
 
 
Top 10
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
 
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server