T
TotallyConfused
Can someone please help me finish this query? I have a list of providers
that can look something like this:
Clooney, George A., MD
AnyName Pediatrics
Grace, Kelly, DO
etc. I am trying to parse out the name. I have the First Name, Last Name
and Degree. But I can't seem to parse out the Middle Initial for the Initial
Field, eliminate the MD or DO and leave blank if no MD or DO. This is what I
have I have written several variations but can't make it work. Can someone
please help me with this? Thank you very much in advance.
NITALONLY: Trim(IIf([PROV NM] Like "*, DO" Or [PROV NM] Like "*,
MD",Right(Trim([PROV NM]),Len(Trim([PROV NM]))-InStr(InStr(2,[PROV NM],"
")+1,[PROV NM]," ")),Null))
that can look something like this:
Clooney, George A., MD
AnyName Pediatrics
Grace, Kelly, DO
etc. I am trying to parse out the name. I have the First Name, Last Name
and Degree. But I can't seem to parse out the Middle Initial for the Initial
Field, eliminate the MD or DO and leave blank if no MD or DO. This is what I
have I have written several variations but can't make it work. Can someone
please help me with this? Thank you very much in advance.
NITALONLY: Trim(IIf([PROV NM] Like "*, DO" Or [PROV NM] Like "*,
MD",Right(Trim([PROV NM]),Len(Trim([PROV NM]))-InStr(InStr(2,[PROV NM],"
")+1,[PROV NM]," ")),Null))