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
MCSE Upgrade Path 2000-2008?
Visio 2007: Can't access UML diagram properties
Problem with vista update The error code is 80073712
Validation Giving Inconsistent Results
Show only comments, not formatting changes in track change balloons in MSword 2003
Overtime Calculation for Payroll.
Can't disable PIN on iPhone on Activesync exchange 2007
SQL sever 2008 trial edition restoring .bak file
Usa an Acrobat PDF as a Document Library Content Type Document Template
MS Access 20077 How to pass text field data from form to table