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
Convert Access String to SQL Server BIT Data Type
How to reference the "checked" value of a checkbox in a GridView template field
Raid 5 4x1 TB format time?
That assembly does not allow partially trusted callers
Changing Source Control Location
IPSec enabled automatically
Date criteria in Access 2007
How To Transpose A Access 2007 Query Result
Program constantsly closes and has "encountered error report"
SQL #Tmp tables