Re formatting numbers (1 Viewer)

NickNeville

Registered User
Joined
May 17, 2009
Messages
119
Would anyone be able to advise me on a formatting prob please.
In my table my field is a number which is showing zero's like 007
but when this is transferred to a list box on my form it shows only "7 "

Can this be shown as OO7 ?

Thanks in advance
Nick
 

RuralGuy

AWF VIP
Joined
Jul 2, 2005
Messages
13,824
You probably have a display format in the table. Use Format([YourNumber],"000") to display as 007.
 

NickNeville

Registered User
Joined
May 17, 2009
Messages
119
Great I'l give it a try
Thanks a lot RG

rgds
Nick
 

neileg

AWF VIP
Joined
Dec 4, 2002
Messages
5,975
I prefer to apply the format at the last possible point, so usually in a form or report. That way you don't have issues with differing formats when you are manipulating data.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Top Bottom