A
AShi
I would like to format name Bowser, Corinna, M.D. to Bowser Corina, M.D.
Steve Schapel said:Wayne,
I don't think that will work, as AShi wants to retain the second comma.
And also wants to remove an "n" from the name apparently.
AShi:
Can you tell us whether all records you will be applying this to will
have exactly the same structure, i.e. 3 segments separated by commas,
and you simply want to remove the comma between the first and second
segments?
--
Steve Schapel, Microsoft Access MVP
Wayne-I-M said:Create a new query as paste this into the sql
SELECT Replace([TableName]![FieldName],",","") AS New
FROM TableName;
Change TableName and FieldName to what they really are
Jeff Boyce said:I can't tell what data (fields) you have to start with... it all starts with
the data!
Do you have:
[Honorific]
[FirstName]
[LastName]
or do you have:
[ANameField]
that contains the entire string "Bowser, Corrina, M.D."?
Regards
Jeff Boyce
Microsoft Office/Access MVP
AShi said:I would like to format name Bowser, Corinna, M.D. to Bowser Corina, M.D.
AShi said:I have [ANameField]
that contains the entire string "Bowser, Corrina, M.D." I need to trim it
to Bowser Corrina
i forgot to mentionlast time that I need to trim suffix.
Jeff Boyce said:I can't tell what data (fields) you have to start with... it all starts
with
the data!
Do you have:
[Honorific]
[FirstName]
[LastName]
or do you have:
[ANameField]
that contains the entire string "Bowser, Corrina, M.D."?
Regards
Jeff Boyce
Microsoft Office/Access MVP
AShi said:I would like to format name Bowser, Corinna, M.D. to Bowser Corina,
M.D.