I need to create an invoice numbering system. The current sequential numbering system is like this LB000102. LB stands for the system. 0001 is the invoice. 02 is year.
The users are very adamnt that the numbering system stay the same.
The problem is with the middle number which needs to be incremented by 1 for each new record. This number drops the leading zeros.
If, for instance, the previous record # was LB001502 then the next number would be LB001602. What I get is LB1602.
In previous threads I have read that Format$ function will allow for leading zeros to be retained but when I go to VB help Format$ does not exist. I need to know if their is a reference that I need to add. The version of Access I am using is office XP.
The users are very adamnt that the numbering system stay the same.
The problem is with the middle number which needs to be incremented by 1 for each new record. This number drops the leading zeros.
If, for instance, the previous record # was LB001502 then the next number would be LB001602. What I get is LB1602.
In previous threads I have read that Format$ function will allow for leading zeros to be retained but when I go to VB help Format$ does not exist. I need to know if their is a reference that I need to add. The version of Access I am using is office XP.