Connecting Tech Pros Worldwide Help | Site Map
 
 
LinkBack Thread Tools Search this Thread
  #1  
Old November 12th, 2005, 03:02 PM
AdmirableKnight
Guest
 
Posts: n/a
Default leading 0

which number field setting will display leading zero's?
  #2  
Old November 12th, 2005, 03:02 PM
PC Datasheet
Guest
 
Posts: n/a
Default Re: leading 0

None!

Mathematically, there is no number that has (a) leading 0(s). 0, 1, 2,3 .... ad
infinitum. If you want a numerical expression with leading 0s, you need to make
it a text field.


--
PC Datasheet
Your Resource For Help With Access, Excel And Word Applications
www.pcdatasheet.com


"AdmirableKnight" <admirableknight@aol.com> wrote in message
news:20031006061949.21232.00001080@mb-m13.aol.com...[color=blue]
> which number field setting will display leading zero's?[/color]


  #3  
Old November 12th, 2005, 03:02 PM
AdmirableKnight
Guest
 
Posts: n/a
Default Re: leading 0

I realise it doesnt feature in all number sets but for when listing Tel No's
for example it would be handy . Would have thought its possible as its used in
binary code?
  #4  
Old November 12th, 2005, 03:03 PM
FooBar
Guest
 
Posts: n/a
Default Re: leading 0

In article <20031006093221.02537.00000893@mb-m23.aol.com>,
admirableknight@aol.com says...[color=blue]
> I realise it doesnt feature in all number sets but for when listing Tel No's
> for example it would be handy . Would have thought its possible as its used in
> binary code?
>[/color]

Dont confuse the storage of data and the display of the data. Two 100%
separate things. Don't force the data you store to look like anything
in particular that is irrelevant.

Data Stored:
PhoneNumber -> 123456

Data Displayed:
Right("0000000" & PhoneNumber,7)

Display Results:
0123456



--
http://www.Obscenitees.com
These shirts are funny!



  #5  
Old November 12th, 2005, 03:03 PM
Trevor Best
Guest
 
Posts: n/a
Default Re: leading 0

On 06 Oct 2003 10:19:49 GMT in comp.databases.ms-access,
admirableknight@aol.com (AdmirableKnight) wrote:
[color=blue]
>which number field setting will display leading zero's?[/color]

Input mask or format property.

--
A)bort, R)etry, I)nfluence with large hammer.
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 205,174 network members.