Hi,
I found this code and i want it to change: "Smith, John W" into: "John" but I can't find the way to get rid of the "W" I'm getting: "John W" can anyone help me with this.
LastNameF: IIf(InStr([Employee_Name],Chr$(44))>0,Mid([Employee_Name],InStr([Employee_Name],Chr$(44))+1),[Employee_Name])
I found this code and i want it to change: "Smith, John W" into: "John" but I can't find the way to get rid of the "W" I'm getting: "John W" can anyone help me with this.
LastNameF: IIf(InStr([Employee_Name],Chr$(44))>0,Mid([Employee_Name],InStr([Employee_Name],Chr$(44))+1),[Employee_Name])