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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Leading Zeros in report Textbox

Status
Not open for further replies.

rccline

Technical User
Jun 13, 2002
341
US
I have a report with an ID number in a Textbox that I would like to display as 4 digits with leading zeros.

Example:

ID 1 to display as 0001
ID 200 to display as 0200

Can I set the textbox properties to display the number as 4 digits with leading zeros?

Thanks.

Robert
 
Hi!

I don't think you can set the format for that but you can in the control source:

=Format(YourField, "0000")

hth


Jeff Bridgham
Purdue University
Graduate School
Data Analyst
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top