H
Harry1701
I have a name field that has the complete name in it. I need to seperate it
into a FirstName and LastName fields. The names are entered with space
between names, in the following format: firstname lastname. The problem I am
having is when the first name comprises of two names . Example mary kate
olsen. I can't figure out how to put "mary kate" into the firstname field.
I end up with
FirstName lastName
Mary kate olsen
I tring this in an update query using the following
LastName:
LTrim(Right$([TransPatient],Len([TransPatient])-InStr([TransPatient]," ")+1))
FirstName: Left([transpatient],InStr([transpatient]," ")-1)
I am using Access 2003.
Thank you for your help,
Harry
into a FirstName and LastName fields. The names are entered with space
between names, in the following format: firstname lastname. The problem I am
having is when the first name comprises of two names . Example mary kate
olsen. I can't figure out how to put "mary kate" into the firstname field.
I end up with
FirstName lastName
Mary kate olsen
I tring this in an update query using the following
LastName:
LTrim(Right$([TransPatient],Len([TransPatient])-InStr([TransPatient]," ")+1))
FirstName: Left([transpatient],InStr([transpatient]," ")-1)
I am using Access 2003.
Thank you for your help,
Harry