B
Bobby Bosco
I need to do a pattern match on last name. If the name in
the table is something like:
William T. Harding then
Lastname: Right$([IDWFullName],Len([IDWFullName])-InStrRev
([IDWFullName]," ",-1)) works great.
However if I try to nest InStrRev to get rid of the
suffix, I cannot make it work. If the data is:
William T. Harding, Jr.
and I try
Lastname: Right$([IDWFullName],Len([IDWFullName])-InStrRev
([IDWFullName]," ",(InStrRev([idwfullname],",",-1))))
but I get... Harding, Jr. All I want is Harding
Can you nest the InStrRev or is my logic inlogical ?
tia
Bobby Bosco
the table is something like:
William T. Harding then
Lastname: Right$([IDWFullName],Len([IDWFullName])-InStrRev
([IDWFullName]," ",-1)) works great.
However if I try to nest InStrRev to get rid of the
suffix, I cannot make it work. If the data is:
William T. Harding, Jr.
and I try
Lastname: Right$([IDWFullName],Len([IDWFullName])-InStrRev
([IDWFullName]," ",(InStrRev([idwfullname],",",-1))))
but I get... Harding, Jr. All I want is Harding
Can you nest the InStrRev or is my logic inlogical ?
tia
Bobby Bosco