eHow launches Android app: Get the best of eHow on the go.

How To

How to Add a Table to a Microsoft Access Database From Scratch

Contributor
By eHow Contributing Writer
(4 Ratings)

The tables created by the Access wizard are not always what you want. Making a table from scratch allows you to customize the table more easily. These instructions are for Microsoft Access 97.

Difficulty: Moderate
Instructions

Things You'll Need:

    Creating a Table Using a Blank Data Sheet

  1. Step 1

    Open your database in Microsoft Access.

  2. Step 2

    Use the F11 key to display the database view. Click the Table tab, then click New. A menu appears.

  3. Step 3

    Select "Database view" to create your new table. Click OK. Your new, blank data sheet opens.

  4. Step 4

    Rename the existing fields, giving them the names you want. Double-click in the Field label (it will turn black), then enter the name you want.

  5. Step 5

    If you need additional columns, click in the column to the immediate right of where you want your new column to appear. Then, from the Insert menu, select Column. Rename or move as desired.

  6. Step 6

    Enter your data in the data sheet.

  7. Step 7

    From the File menu, click Save. You'll be asked if you want Access to create primary keys for your table. Click Yes unless you want to assign primary keys yourself.

  8. Creating a Table From Design View

  9. Step 1

    Open your database and switch to the Database window by tapping the F11 key.

  10. Step 2

    Click the Table tab, then click New.

  11. Step 3

    Double-click Design View. A design view window appears.

  12. Step 4

    Enter your field names. Click in the first row directly under Field Name, and enter the name you want to use. Hit Enter.

  13. Step 5

    Click in the DataType column directly to the right. A menu will appear, offering you a choice of data type. Choose from text, currency, date and time, and so on. Add notes in the field to the far right if desired.

  14. Step 6

    Enter all of your field and data types in a similar fashion.

  15. Step 7

    Define a primary key if you want a custom primary key. If you want Access to create your primary key automatically, omit this step for now.

  16. Step 8

    Choose Save from the File menu. A menu appears, asking you to name your table. Give it a name and click OK.

  17. Step 9

    If you haven't defined a primary key, Access will ask if you want primary keys to be created automatically. It's usually a good idea to say yes.

Tips & Warnings
  • It's easier to add a table this way, but you can't specify your fields' data types. (They'll all be text.) If you need other data types, use the next method.

Post a Comment

Post a Comment
  • Have you done this? Click here to let us know.
I Did This

Related Ads

Computers
Alexia Petrakos,

Meet Alexia Petrakos eHow's Computers Expert.

Get Free Computers Newsletters

Copyright © 1999-2009 eHow, Inc. Use of this web site constitutes acceptance of the eHow Terms of Use and Privacy Policy.   en-US Portions of this page are modifications based on work created and shared by Google and used according to terms described in the Creative Commons 3.0 Attribution License.

eHow Computers
eHow_eHow Technology and Electronics