Avatar of SteveL13
SteveL13
Flag for United States of America asked on

How remove slash marks from a date field?

I have the following code in an after-update event of a field on a form.


Me.txtAttendanceCode = Left(Trim(Me.Parent.txtFirstName), 1) & "" & Me.Parent.txtDOB & "" & Left(Trim(Me.Parent.txtLastName), 1)


I want to use the same code but not include the / marks in the DOB portion of the code.

Microsoft Access

Avatar of undefined
Last Comment
SteveL13

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Fabrice Lambert

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
SteveL13

ASKER
Perfect!  Thank you.
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck