B
Bird Byte
I have a field where a name was supposed to be entered as Last Name, First
Name. Now I have to separate out the first names (extracting the last names
was no problem). One problem is that some names were entered as last, first
and others were entered last,first - without a space.
The following worked with marginal results:
FName: Right([FullName],InStr([FullName],","))
Some results were fine, while others looked like this:
LName FName FullName
Dummdorfe rfe, Wayne Dummdorfe, Wayne
Nice opher Nice, Christopher
Hassles Charlie Hassles, Charlie
As you can see, some strings returned as wanted, while others didn't.
Any ideas how to get the correct string (entire first name with no comma or
leading space).
Thanks for any help!
Name. Now I have to separate out the first names (extracting the last names
was no problem). One problem is that some names were entered as last, first
and others were entered last,first - without a space.
The following worked with marginal results:
FName: Right([FullName],InStr([FullName],","))
Some results were fine, while others looked like this:
LName FName FullName
Dummdorfe rfe, Wayne Dummdorfe, Wayne
Nice opher Nice, Christopher
Hassles Charlie Hassles, Charlie
As you can see, some strings returned as wanted, while others didn't.
Any ideas how to get the correct string (entire first name with no comma or
leading space).
Thanks for any help!