increment three digit counter

Certified Associate Developer

hi, 

I am currently incrementing a counter based on a the count of similar records in the database. 

counter should start from 001. it defaults to 1 for me , when I am simply setting the counter to 000 and increment by 1. 

Expectation is 001 and not 1

any help is appreciated.

  Discussion posts and replies are publicly visible