Alan Forman
Registered User.
- Local time
- Today, 21:20
- Joined
- Apr 8, 2004
- Messages
- 30
Hi Guys
I've got a field that contains a clients First Name and any middle names.
e.g. Bill Richard Stephen
I'd like to copy the first name (up to the first space) to a field called 'First_Name' (Bill), and any other names to another field called 'Middle_Names' (Richard Stephen).
A client may have one, two, three or no other names.
I've tried .....
Trim_Space: Left([First_Name],(InStr(1,[First_Name]," "))-1)
which sort of does the first name but returns #error if there is no middle names.
Any help appreciated.
Thanks
Alan
I've got a field that contains a clients First Name and any middle names.
e.g. Bill Richard Stephen
I'd like to copy the first name (up to the first space) to a field called 'First_Name' (Bill), and any other names to another field called 'Middle_Names' (Richard Stephen).
A client may have one, two, three or no other names.
I've tried .....
Trim_Space: Left([First_Name],(InStr(1,[First_Name]," "))-1)
which sort of does the first name but returns #error if there is no middle names.
Any help appreciated.
Thanks
Alan