For the code that reads:Surname = Concat(upper(Left(Surname,1)),lower(Right(Surname,Len(Surname)-1))) The correct case for the function name needs to used:Surname = Concat(Upper(Left(Surname,1)), Lower(Right(Surname,Len(Surname)-1)))One could use the "At()" function to find word boundaries in the st...