I have a table with a field named "Name". If I enter John Doe in the field I want two calculated fields in the table to populate. One being "FirstName" and the result of the calculation would be "John". The other calculated field would be "LastName" and the result would be "Doe".
I've tried these expressions in the FirstName calculated field but get an error. (all characters up to the first space)
Left(Name, Instr(1, Name, " ") - 1)
But then also, what would be the proper expression for the LastName?
But I also think I need to trim any leading spaces before and after "John Doe" in the event one was typed, correct?