Connecting Tech Pros Worldwide Help | Site Map

Formating numbers: I want '9' to be '009' and '19' to be '019'

 
LinkBack Thread Tools Search this Thread
  #1  
Old November 13th, 2005, 12:42 PM
swingingming
Guest
 
Posts: n/a
Default Formating numbers: I want '9' to be '009' and '19' to be '019'

How can I do this ? This is the number used in invoice.
Thanks.


  #2  
Old November 13th, 2005, 12:42 PM
pietlinden@hotmail.com
Guest
 
Posts: n/a
Default Re: Formating numbers: I want '9' to be '009' and '19' to be '019'

formatInvoiceNo: Format([InvoiceNo],"000000000")

  #3  
Old November 13th, 2005, 12:42 PM
Allen Browne
Guest
 
Posts: n/a
Default Re: Formating numbers: I want '9' to be '009' and '19' to be '019'

Open the report (form?) in design view, and set the Format property of this
text box to:
000

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"swingingming" <ming.mge@gmail.com> wrote in message
news:1123566670.327279.83700@f14g2000cwb.googlegro ups.com...[color=blue]
> How can I do this ? This is the number used in invoice.
> Thanks.[/color]


  #4  
Old November 13th, 2005, 12:42 PM
swingingming
Guest
 
Posts: n/a
Default Re: Formating numbers: I want '9' to be '009' and '19' to be '019'

Thanks. I will stay with your solution. It works fine. Because the
invoice number actually consists of other Texts.

 

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 220,840 network members.