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
CToolBar derived Toolbar repositioning
Sending Email From Alias or Distribution Group
Simple SQL Join Query Syntax Issue
Disable Compatibility Checker Excel 2007
Entension vs Regular Dll in MFC?
Setting the Scroll bars in the Report Viewer Control
How Do I Test If A PivotItem Exists?
Exporting report to excel
How can I print using a Clipper (DOS) application under Windows 7
Unicode/STL/Varargs problem