S
SAP2
Hello,
I am using Access 2003 and trying to create a query that separates the last
name from a field of last name/first name combo. My data can look like this
Jones, Adam
or can look like this:
Jones|Adam
I currently use Left(qryMHTracking!LName,InStr(qryMHTracking!LName,",")-1)
which does fine for the names with a comma in them. I cannot seem to find a
way where I can evaluate both instances (, and |) to yield the last name by
itself.
Any help?
I am using Access 2003 and trying to create a query that separates the last
name from a field of last name/first name combo. My data can look like this
Jones, Adam
or can look like this:
Jones|Adam
I currently use Left(qryMHTracking!LName,InStr(qryMHTracking!LName,",")-1)
which does fine for the names with a comma in them. I cannot seem to find a
way where I can evaluate both instances (, and |) to yield the last name by
itself.
Any help?