UPDATE Candidates
SET Last_Name=UPPER(LEFT(Last_Name,1))+LOWER(SUBSTRING(Last_Name,2,LEN(Last_Name)))
Now I have hyphenated names with improper capitalization: i.e. Ramirez-smithASKER
ASKER
ASKER
Set DBRS = Conn.Execute("SELECT UniqueIDField, Last_Name FROM yourtable")
Do Until DBRS.EOF
SQL = "UPDATE yourtable SET Last_Name = '" & VBCamelCaseFunction(DBRS("LastName")) & "' WHERE UniqueIDField = " & DBRS("UniqueIDField")
DBRS.MoveNext
Loop
ASKER
ASKER
ASKER
SQL (Structured Query Language) is designed to be used in conjunction with relational database products as of a means of working with sets of data. SQL consists of data definition, data manipulation, and procedural elements. Its scope includes data insert, query, update and delete, schema creation and modification, and data access control.
TRUSTED BY
Of course, you still have a problem with people with names like deGrom or McDonalds or MacDouglas. My point is, you probably just want to accept that certain names will be problematic. Odds are, those people have probably already accepted that.