Remove leading zeros

D

Dominick D.

Hi, I have a table with a field called CUST_ACN that is set to text. The
numbers contain leading zeros, like this: 000000001401. Now, what is the best
way to remove those leading zeros when I create and run a simple query?
Thanks.
 
B

Bob Barnes

If a whole number above roughly 32,000 (see Integer definition)..
CLng...converts to a Long Integer. If a mixed number, check
converting to a Single or a Double.

HTh - Bob
 
D

Dominick D.

Hi, Bob; that helped. Thanks.

Bob Barnes said:
If a whole number above roughly 32,000 (see Integer definition)..
CLng...converts to a Long Integer. If a mixed number, check
converting to a Single or a Double.

HTh - Bob
 

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