Split one field into two fields

J

John

I have inherited a database where the employee name was entered as
Lastname,Firstname in the same field. I would like to be able to have a
query split the existing entry into a seperate lastname field and firstname
field.

Thanks for you help
 
J

JulieD

Hi John

need to create two calculated fields in a query
e.g.
LastName: Left([OldName],InStr(1,[oldName],",")-1)

FirstName: Right([OldName],Len([OldName])-Len([LastName])-1)

Regards
JulieD
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top