How to truncate the leading zeros

J

Jeremy Nelson

Hi!

I have a text field like 000076534 in one of my tables.
How do I get rid of the leading zeros. Any help will be
greatly appreciated.

Thanks.
 
K

Ken Snell

Do you still want it to be a text field when done?

MyTruncatedNumber = Format(Val([MyField]), "@")
 

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