Hello,
I'm trying to right an update query that will look at a column of names and change some of the name that are listed as Smith, John to John Smith. The query I'm using is listed below:
UPDATE [1 - Closed Loan Rpts - Debriefs NEW]
SET [1 - Closed Loan Rpts - Debriefs NEW].Broker = StrConv(Right$([1 - Closed Loan Rpts - Debriefs NEW].Broker,Len([1 - Closed Loan Rpts - Debriefs NEW].Broker)-InStr(1,[1 - Closed Loan Rpts - Debriefs NEW].Broker,",")-1) & " " & Left$([1 - Closed Loan Rpts - Debriefs NEW].Broker,InStr(1,[1 - Closed Loan Rpts - Debriefs NEW].Broker,",")-1),3);
The issue I'm experiencing is that when I run the query it deletes all the names in the row except for the names that are listed as Smith, John. I only want it to change those names and leave the rest as is.
PLEASE HELP!!!
Thank you!