Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Reports / Printing / April 2008

Tip: Looking for answers? Try searching our database.

Automatically abbreviate a State's name in Access 2007

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
helpme - 08 Apr 2008 23:02 GMT
I need to automatically have the name of a State abbreviated to 2 letters,
even if the full name is typed in.
Jeff Boyce - 08 Apr 2008 23:09 GMT
Why would you want your users to have to type all the characters of a
state's name, only to watch while your application wipes out all of their
typing and replaces it with an abbreviation?  I'm guessing you have some
irate users!

Another approach would be to create a simple table that holds both state
name and state abbreviation.  Then, in your form, you could use a combobox
that displays the state name and lets the user pick the one they want, while
your form stores the (hidden) first column that contains the abbreviations.

Your users see full state names, but the system stores the abbreviations.

Good luck!

Regards

Jeff Boyce
Microsoft Office/Access MVP

> I need to automatically have the name of a State abbreviated to 2 letters,
> even if the full name is typed in.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.