C
Craig
I am using the InStr function in combination with Left to split up a name
field - as follows:
FName: Left([FullName],InStr([FullName]," ")-1)
This works mostly except if there are two names such as Jo Anne, Ann Marie.
How can I rewrite this to extract the first names.
I see two parts to this:
1. to look for the second "space" in a name field
2. To determine if its a name or an initial by counting the number of
charachters in the second part of the name. Jo Anne Smith / Jo A Smith. Jo
Anne A. Smith
Any help would be greatly appreciated
Craig
field - as follows:
FName: Left([FullName],InStr([FullName]," ")-1)
This works mostly except if there are two names such as Jo Anne, Ann Marie.
How can I rewrite this to extract the first names.
I see two parts to this:
1. to look for the second "space" in a name field
2. To determine if its a name or an initial by counting the number of
charachters in the second part of the name. Jo Anne Smith / Jo A Smith. Jo
Anne A. Smith
Any help would be greatly appreciated
Craig