Packing a number with zeros

B

Baby Face Lee

Hi guys,
A quick question (I hope).
I've got a field which have numbers in them which I need to pack to
four-digits with preceding zeros. To enable this I've changed the data type
to text but I can't think how to achieve it.
For example:
12 should read 0012
7 should read 0007
103 should read 0103
Can you help with this?
Many thanks,
Lee
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top