Dave 14867
Registered User.
- Local time
- Yesterday, 22:42
- Joined
- Jan 1, 2017
- Messages
- 56
Hello all, a newbie here with a simple issue but I can't remember how to do it.
I need a sequential number to be generated, which I have done with DMax(), but I also need to now take that number and "pad" it with leading "0's" so I end up with a 4 digit number and save it as a string, example, I generate the number 143, but what I really need is 0143 and need to save it as a string, text actually.
How can I do this?
Thanks in advance for you assistance
I need a sequential number to be generated, which I have done with DMax(), but I also need to now take that number and "pad" it with leading "0's" so I end up with a 4 digit number and save it as a string, example, I generate the number 143, but what I really need is 0143 and need to save it as a string, text actually.
How can I do this?
Thanks in advance for you assistance