(Msg. 1) Posted: Sun Aug 17, 2008 11:23 pm
Post subject: enter number into table Archived from groups: microsoft>public>access>gettingstarted (more info?)
Hi,
how do i enter number that starts with 0 into the table? like a phone number
for example?
(Msg. 2) Posted: Mon Aug 18, 2008 7:09 am
Post subject: RE: enter number into table [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
numeric data types do not carry leading zeros or any other formatting
information. You options are to use a text data type or use the Format
function when you present the number to a user.
--
Dave Hargis, Microsoft Access MVP
"reidapple" wrote:
> Hi,
>
> how do i enter number that starts with 0 into the table? like a phone number
> for example?
>
> thx
(Msg. 3) Posted: Mon Aug 18, 2008 8:26 am
Post subject: Re: enter number into table [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
if the Data Type of your field is Number, change it to Text.
hth
"reidapple" <reidapple.RemoveThis@discussions.microsoft.com> wrote in message
news:D8E10F32-2065-442A-97D3-0BDE96B48F55@microsoft.com...
> Hi,
>
> how do i enter number that starts with 0 into the table? like a phone
number
> for example?
>
> thx
(Msg. 4) Posted: Mon Aug 18, 2008 10:33 am
Post subject: Re: enter number into table [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
On Sun, 17 Aug 2008 23:23:01 -0700, reidapple
<reidapple.RemoveThis@discussions.microsoft.com> wrote:
>Hi,
>
>how do i enter number that starts with 0 into the table? like a phone number
>for example?
>
>thx
"Numbers" such as telephone numbers or Zip codes are not really numbers; you
won't ever be doing arithmatic operations with them, or incrementing them as
you might do with an invoice number. Use a Text datatype instead of any sort
of Number datatype for them.
Another reason to use text instead of number is that a Number field of the
default Long Integer datatype is limited to be no larger than 2147483647 - so
a phone number in any area code larger than 214 will not fit.
--
All times are: Eastern Time (US & Canada) (change)
Page 1 of 1
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum