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
Bonus points for question
Microsoft Server 2003
Syntax Error
how to send image as a base64 XML item ?
MSG command giving Error 5 to domain admin
Extract sender,subject,priority,at<wbr />tachment from ms outlook using vba
CRM 4.0: issues pre-populating a Currency lookup and money field ("A currency is required if a value exists in a money field")
In Access 2007 what expression would update a value by simply removing all underscores?
How to append data from a varchar column to a text column
can I partition Win 7 xp mode drive