Splitting Full Names into two fields

  • Thread starter Thread starter Kevin O
  • Start date Start date
How do you split a full name in one field into two fields
(last name ans first name)?

That all depends.
If the present full name field is exactly like this (comma separated):
Smith, John
Van Buren, Martin
Then you can use
LastName:Left([FullName],InStr([FullName],",")-1)
[FirstName:Mid([FullName],InStr([FullName],",")+2)
 
Sorry I wasn't more explicit. My Full Name field is
formatted like this:
John Doe
Sally Beach
Don Rose
 
Sorry I wasn't more explicit. My Full Name field is
formatted like this:
John Doe
Sally Beach
Don Rose

FirstName:Left([FullName],InStr([FullName]," ")-1)
LastName:Mid([FullName],InStr([FullName]," ")+1)
 
Thanks so much, you the man
-----Original Message-----
Sorry I wasn't more explicit. My Full Name field is
formatted like this:
John Doe
Sally Beach
Don Rose

FirstName:Left([FullName],InStr([FullName]," ")-1)
LastName:Mid([FullName],InStr([FullName]," ")+1)

--
Fred
Please only reply to this newsgroup.
I do not reply to personal email.
.
 
Is this occamplished through an update query? I need to do the same thing but am unclear of how to accomplish this, seems like a fairly common issue / mistake

BDP
 
Back
Top