D
Diesel
I am importing a text file which includes a field titled [lastname]. In some
of these cells the lastname has a suffix attached to it (e.g. Jr., IV, Sr.,
etc). I want an update query to be able to go through and parse the suffix
out of the last name. I have attempted several queries and have been
unsuccessful. I am trying to make a query that updates the [lastname] field
to just the lastname and no suffix.
Previous attempts:
Left$([lastname],InStr(1,[lastname]," ")-1)
Any suggestions
of these cells the lastname has a suffix attached to it (e.g. Jr., IV, Sr.,
etc). I want an update query to be able to go through and parse the suffix
out of the last name. I have attempted several queries and have been
unsuccessful. I am trying to make a query that updates the [lastname] field
to just the lastname and no suffix.
Previous attempts:
Left$([lastname],InStr(1,[lastname]," ")-1)
Any suggestions