Question : Removing Leading Zero's in an AlphaNumeric Field

I am trying to remove leading zero's while working in an Access Query. I have account numbers that begin with 2 alpha characters followed by 4 numeric digits. I need to remove the leading zero's like below. The Alpha characters could be any character.

From this: AA0030 To this: AA30
From this: BB0456 To this: BB456

Thanks in advance!

Answer : Removing Leading Zero's in an AlphaNumeric Field


  accountNum= val(mid([fieldName],3))
Random Solutions  
 
programming4us programming4us