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 » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Masking Question



 
 
Thread Tools Display Modes
  #1  
Old September 5th, 2006, 08:19 PM posted to microsoft.public.access.forms
Mike Busch
external usenet poster
 
Posts: 21
Default Masking Question

I have a form that I need to have it show and print a number that starts with
a "0".
the number is 064278 I trred to use a mask with "999999" but it did not
word. Any Ideas.
  #2  
Old September 5th, 2006, 10:48 PM posted to microsoft.public.access.forms
KARL DEWEY
external usenet poster
 
Posts: 10,767
Default Masking Question

Number do not have leading zeros - text information can.

You can fill in leading zeros in a query like this --
Your Field Label: Right("00000" & [YourFieldName],6)


"Mike Busch" wrote:

I have a form that I need to have it show and print a number that starts with
a "0".
the number is 064278 I trred to use a mask with "999999" but it did not
word. Any Ideas.

 




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


All times are GMT +1. The time now is 08:53 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.