A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Database Design
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

How do I show leading zeros in a number field



 
 
Thread Tools Display Modes
  #1  
Old August 11th, 2004, 04:39 PM
tfinklea
external usenet poster
 
Posts: n/a
Default How do I show leading zeros in a number field

"How do I show leading zeros in a number field"
I have a database that will generate a fixed length text file. in the
number field, I must fill all 9 spaces with leading zeros. Example: the
number 645.00 should show and print as 000064500
How do I do this?
  #2  
Old August 11th, 2004, 07:30 PM
Tim Ferguson
external usenet poster
 
Posts: n/a
Default How do I show leading zeros in a number field

"=?Utf-8?B?dGZpbmtsZWE=?=" wrote in
:

, I must fill all 9 spaces with leading zeros. Example: the
number 645.00 should show and print as 000064500
How do I do this?



Format(SomeNumber * 100, "000000000")

HTH


Tim F

 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Add missing zero's to customer number Johnnyb Worksheet Functions 3 August 4th, 2004 02:47 PM
Adding zero's to the beginning of a number kukarooza General Discussion 5 June 28th, 2004 07:39 PM
Fractional Number Value in a field Maria K Using Forms 2 June 22nd, 2004 12:39 AM
Leading Zeros Richard Worksheet Functions 3 October 23rd, 2003 11:03 AM
Leading zeros Shane Worksheet Functions 6 October 22nd, 2003 09:48 PM


All times are GMT +1. The time now is 07:32 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.