How to Automatically Add Predefined Values to a Microsoft Access Table Field

By eHow Computers Editor

Rate: (1 Ratings)

Providing a choice of predefined values for a field is useful when values rarely change. For example, in a Salutations column, you might enter predefined values of Mr., Mrs., Ms., Dr., etc. When entering data, the user is presented with a list of choices, and just needs to click the one to be used. You can create a field with predefined values either in Design view or Datasheet view. These instructions apply to Microsoft Access 97.

Instructions

Difficulty: Moderately Easy

Things You’ll Need:

Adding Predefined Values in Design View

Step1
Open your table in Design view.
Step2
Create a new row in the location where you want your field to occur. If you want to put the field at the end of the rows, click in the first empty row.
Step3
Name your new field.
Step4
Click in the Data Type column. A small arrow appears at the right corner.
Step5
Click in the right corner to obtain a menu of choices.
Step6
Click in Lookup Wizard. The Lookup Wizard appears.
Step7
Click the option that indicates you want to type in the values.
Step8
Click Next. Follow the directions that the wizard provides. Click Finish.
Step9
Save your table.
Step10
When you look at your table in Datasheet view, you will now see that your field displays a tiny arrow when you click in it. Clicking on the arrow gives you a list of choices based on the values you entered.

Adding Predefined Values in Datasheet View

Step1
Open your table in Datasheet view.
Step2
Click in the column to the right of where you want to insert the field.
Step3
From the Insert menu, click on Lookup Column.
Step4
The Lookup Wizard appears.
Step5
Follow the same steps with the Lookup Wizard as you did above.
Step6
Save your table.

Tips & Warnings

  • Once you create a fixed value list, MS Access will copy those definitions to any form you create afterwards (forms are interfaces you can create to simplify data entry). However, if you create a form, then later change the values in the value list, those new values will not show up in the form.

Post a Comment

POST A COMMENT

Request a New How-To Article

Looking for more How To information? Chances are there’s an eHow member who knows how to do what you’re looking to do. Submit an article request now!

eHow Article:  How to Automatically Add Predefined Values to a Microsoft Access Table Field

eHow Computers Editor

eHow Computers Editor

Category: Computers

Articles: See my other articles

Related Ads