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
Access 2003 - Issue with .AddNew keywork after Access Migration to SQL Sever
Save password setting not retained in Outlook
How to identify corrupt Excel-Objects?
Disk Quotas
Corupt Registry on 2000 adv server
VBA User defined types
Microsoft Access Payroll
Edit (OLE) Links in a PowerPoint presentation
How do i get XP OEM key off HP laptop?
Convert 3.0 Resource file to 6.0 format?