A
Alan B. Densky
I have a names field that has inconsistent data in it. Sometimes it has a
FirstName and a LastName, and sometimes it also has a middle initial with or
without a period after it: FirstName MI LastName.
I'm currently parsing the field into FirstName and LastName. However, when
there is a middle initial that gets thrown into the last name field and it
really screws things up when I lookup a person based on last name and the
field starts with the middle initial.
Fst: Trim(Left([CustomerName],InStr([CustomerName]," ")))
Lst: Trim(Mid([CustomerName],InStr([CustomerName]," ")+1))
Can someone help me with another function that will straighten out this
mess?
Thanks,
Alan
FirstName and a LastName, and sometimes it also has a middle initial with or
without a period after it: FirstName MI LastName.
I'm currently parsing the field into FirstName and LastName. However, when
there is a middle initial that gets thrown into the last name field and it
really screws things up when I lookup a person based on last name and the
field starts with the middle initial.
Fst: Trim(Left([CustomerName],InStr([CustomerName]," ")))
Lst: Trim(Mid([CustomerName],InStr([CustomerName]," ")+1))
Can someone help me with another function that will straighten out this
mess?
Thanks,
Alan