I have a person's name in one column eg: Ginny Roby. I need to either
sort
by Roby or divide the column into two separate names 1: Ginny 2: Roby.
Can
this be done?
I'd suggest dividing. Create two new fields, FirstName and LastName.
Run an Update query updating FirstName to
Left([name], InStr([name], " ") - 1)
and LastName to
Mid([name], InStr([name], " ") + 1)
Then you'll need to run a Query using a criterion of
LIKE "* *"
on LastName; you very likely have people with names like "Billy Bob
Thornton" who will end up with "Bob Thornton" in the LastName (his
first name is Billy Bob, just ask him). Names like "Ludwig von
Beethoven" will be handled correctly though.
John W. Vinson[MVP]