Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

inputting zip-code leading zero gets dropped off

Status
Not open for further replies.

MBall2003

Programmer
May 30, 2003
61
0
0
US
I have a text box on my form for the addresses zip code

the input mask is 00000\-9999;;_
my problem is when the zipcode starts with a zero, ex. 07654 or 09356-9856 the following gets inputted into the table 7654 and 9356-9856 how can i get the leading zero to stay ?? any help would be appreciated thanks


mball
 
Check your input source, Access sees it as a number format rather than text. Re-format the input source as text first (this may drop the zeros in your original data, you'd have to put them back), then bring into Access.

Newposter
"Good judgment comes from experience. Experience comes from bad judgment."
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top