View Single Post
  #1  
Old May 13th, 2010, 05:13 PM posted to microsoft.public.access.queries
Jessica
external usenet poster
 
Posts: 299
Default REMOVING LEADING ZERO

I have loan numbers that consist of all numbers or alphanumeric fields. Not
all loan numbers have the same digits, however, they are all formatted to 35
character spaces. For example, one loan might be 123 (with zeros in front)
and another loan would be 1245523, and another could be 1234abc1345. I need
to format those with only numbers to a number value. I have used the Val()
function and it works perfect with only number values, but when there is a
loan that have alphanumeric, it shows up as 0. How do it have it show the
loan number with the text? For example loan 00000abc123 needs to read abc123.