Click here to Skip to main content
15,884,472 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have invoice no 1 but i want to show 001 . if the number will be 2 digit like 10 i want to display 001.
Posted

1 solution

Create Formula in Field Explorer ->Formula Fields then use

Right("0000"&{MyFieldToPad},8) and drag that field into your report

check this link

http://stackoverflow.com/questions/10989266/padding-a-fixed-number-with-leading-zeros-up-to-a-fixed-length[^]
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900