How to lookup state abbreviation codes

DAZarlengo

New Member
Joined
Oct 18, 2003
Messages
11
I have a table with two columns. One column is state names spelled out. The other is the 2 character abbreviations. In a form, when adding new clients to a table, how do I let the user scroll through the list and store only the 2-character abbreviation in a client table.
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
Make the 2-letter abbreviation the ID column for the table. Then, when you create combos for data entry, you can show users the full State names for ease of reading -- but the abbreviations will be stored.
If you haven't done it before (assuming you are using a form for data entry), do this:
1. In Design view on the form, and with Wizards enabled, click the Combo on the toolbox and click the desired location on the form.
2. The wizard will launch -- follow the prompts. You'll want to use the abbreviation and name fields, and hide the key field.

HTH
Denis
 
Upvote 0
Thanks Sidney! That did the trick. I've been away from Access for a year, and just couldn't remember the approach.
 
Upvote 0

Forum statistics

Threads
1,221,572
Messages
6,160,575
Members
451,656
Latest member
SBulinski1975

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top