Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dropped leading 0 1

Status
Not open for further replies.

PL01

Technical User
Joined
Jun 9, 2008
Messages
57
Location
US
Is it possible to format Access so the leading '0' doesn't drop away from a long number? i.e. so 107 will read as 0107 when the report prints.
 
=format(longnumber,"000000")
 
Something like this?
Code:
format(yourfield,"0000")


Randy
 
Is this a report question? If so, you should consider the report forum ( forum703 ).

In the report, select the textbox in question, and in it's format property (properties dialog), enter 0000 (four zero's).

Roy-Vidar
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top