Microsoft
Software
Hardware
Network
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
How to set Anonymous access in Reporting Services 2008 & IIS7
How to get a DOS prompt?
MS Access to do select statement with first three characters starting with ABC
How to run code in one database from another database
Proxy server via Group Policy?
copy and paste an array formula?
SQLServer 2005
Outlook keeps asking for authentication
aspx/c# looping through data from within body
Report runtime user input to be included