Question : Leading zero from number to Concatenated filed

I have a form that generates a Project number which is formated for 6 digits (000000)  

So far all our project numbers are using 5 digits ie: 010501.  This is how the number shows up on the form.  I have a text box where I want to combine the Project number with the Project Name values in a text box called Project Code - so you would see something like:  (01501:Project A)

When I use this statement in the text box - =[Project No] & ":" & [Project Name]  I get - (10501:Project A) - I loose the leading zero.

Is there a better way to do this to keep the 6 digit formating in my Project Code field?

thanks for your help.

Answer : Leading zero from number to Concatenated filed

How about:

=Format([Project No],"000000") & ":" & [Project Name]

mx
Random Solutions  
 
programming4us programming4us