MS Access 2002 Delete first character "1" from string

I need to delete the number "1" from a string.  the 1 is always the first character in the string
deer777Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Jorge PaulinoIT Pro/DeveloperCommented:
Hi deer777,

But in all records in a query on in a form handling ?

jpaulino
0
Rey Obrero (Capricorn1)Commented:
if you have a string like this

mystring="123456mdk mjhsn"

this will
mystring=mid(mystring,2)


return   "23456mdk mjhsn"


0
Rey Obrero (Capricorn1)Commented:

if left(mystring,1)=1 then
   mystring=mid(mystring,2)

end if

in a query

select mid([fieldName],2)
from tableName
where left([fieldname],1)=1

or


select mid([fieldName],2)
from tableName
where left([fieldname],1)="1"



0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
10 Tips to Protect Your Business from Ransomware

Did you know that ransomware is the most widespread, destructive malware in the world today? It accounts for 39% of all security breaches, with ransomware gangsters projected to make $11.5B in profits from online extortion by 2019.

Jorge PaulinoIT Pro/DeveloperCommented:
Hi capricorn1,

You didn't leave me time to write. :-)

It's saturday
0
Rey Obrero (Capricorn1)Commented:
jpaulino,
sorry, there was no post when i started typing and hitting submit...
0
deer777Author Commented:
That'll do it!!
0
Jorge PaulinoIT Pro/DeveloperCommented:
just joking capricorn1

He have to write quick when you're around.

:-)
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Databases

From novice to tech pro — start learning today.