I want to set the value of my Customer ID on submit of the form. I would like to use auto ID generated by Access + leading zeros. In excel I could do it like this =RIGHT("0000000000"&B1,6). I am not sure how it would look in InfoPath. So on submit it should submit 000001 to the database once to 10 it would be 000010 and ...