G
galin
Hi group,
I have a text field containng First Name, Middle Initial
(but not for all names), and Last Name. How do I separate
the field that every name goes to an own field. I have the
following SQL
SELECT Left(Name,InStr(Name," ")-1) AS FirstName,Right
(Name,Len(Name)-InStr(Name," ")) AS LastNames, *
FROM My Table;
which separates thr First Name from the rest. But how do I
have the Middle initial separated from the Last name
(considering the fact that not all names have Middle
Initial)
thanks guys
galin
I have a text field containng First Name, Middle Initial
(but not for all names), and Last Name. How do I separate
the field that every name goes to an own field. I have the
following SQL
SELECT Left(Name,InStr(Name," ")-1) AS FirstName,Right
(Name,Len(Name)-InStr(Name," ")) AS LastNames, *
FROM My Table;
which separates thr First Name from the rest. But how do I
have the Middle initial separated from the Last name
(considering the fact that not all names have Middle
Initial)
thanks guys
galin