Re: Trim Initials from Name field



Lacey wrote:
Hi All!

I have a table that contains a Name field. The name appears as
LastName,FirstName Initial, or sometimes just LastName,FirstName
(without any initial). There's no spacex between the LastName, comma
and FirstName.

Is there a way trim the initials from the Name field IF it has one
and NOT remove part of the First Name if it doesn't???

Please advise...

Left([Name], InStr(1, [Name], " ")-1)

--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com


.