PC Review


Reply
Thread Tools Rate Thread

How to create a default field for zipcode with a zero beginning

 
 
=?Utf-8?B?UnVyYWwgTGFuZCBUcnVzdA==?=
Guest
Posts: n/a
 
      28th Mar 2007
We have many people within one town with a zip code beginning with zero. We
can put in the Town, the State abbrviation, but can only create a field to
accept the last 4 digits (non-zeroes) in the field we are using for a zip
code. Any ideas?

 
Reply With Quote
 
 
 
 
George Nicholson
Guest
Posts: n/a
 
      28th Mar 2007
Numbers simply don't have leading zeros. Change the field from Numeric to
Text.

Unless you are planning on doing math functions (addition, subtraction,
multiplication) with your zipcode field, you won't be losing anything.

HTH,

"Rural Land Trust" <Rural Land (E-Mail Removed)> wrote in
message news:BD97F029-96E7-4FA3-9CDA-(E-Mail Removed)...
> We have many people within one town with a zip code beginning with zero.
> We
> can put in the Town, the State abbrviation, but can only create a field to
> accept the last 4 digits (non-zeroes) in the field we are using for a zip
> code. Any ideas?
>



 
Reply With Quote
 
=?Utf-8?B?SmFja2llIEw=?=
Guest
Posts: n/a
 
      28th Mar 2007
Make sure your zip code field is text in the table design instead of number.

"Rural Land Trust" wrote:

> We have many people within one town with a zip code beginning with zero. We
> can put in the Town, the State abbrviation, but can only create a field to
> accept the last 4 digits (non-zeroes) in the field we are using for a zip
> code. Any ideas?
>

 
Reply With Quote
 
Joseph Meehan
Guest
Posts: n/a
 
      28th Mar 2007
Rural Land Trust wrote:
> We have many people within one town with a zip code beginning with
> zero. We can put in the Town, the State abbrviation, but can only
> create a field to accept the last 4 digits (non-zeroes) in the field
> we are using for a zip code. Any ideas?


Postal codes are not number, they are characters. Don't use a number
field. Also remember that if you have any international addresses you are
going to need to have letters as well as numbers.

--
Joseph Meehan

Dia 's Muire duit



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Create field default using the ID field in Access 2007 JimG Microsoft Access Database Table Design 0 13th Jul 2008 05:34 PM
looking up zipcode in table and inserting it in a field =?Utf-8?B?c2VrMDkxMA==?= Microsoft Access Form Coding 11 3rd Aug 2007 04:18 AM
ZipCode Lookup and field fill =?Utf-8?B?U2NvdHQgV2hldHNlbGwsIEEuUy4gIC0gIFdWU1A= Microsoft Access Database Table Design 8 25th Jun 2007 04:54 PM
automatically filling a form field with zipcode based on city name =?Utf-8?B?c2VrMDkxMA==?= Microsoft Access Form Coding 3 30th Oct 2006 10:27 PM
Show only the 5 left most numbers in a zipcode field =?Utf-8?B?Zmd3aWlp?= Microsoft Access Queries 2 28th Apr 2006 03:36 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:43 AM.