In a query I'm trying to parse the last name from a full name field. I created a new field, with the following code, which works:
LastName: Mid([FullName],1,InStr([FullName],',')-1)
Instead of having all caps for the field I want proper case (capitalized).
I tried the following code but the error is "wrong number of arguments."
LastName: StrConv(Mid([FullName],1,InStr([FullName],',')-1))
What am I doing wrong?
LastName: Mid([FullName],1,InStr([FullName],',')-1)
Instead of having all caps for the field I want proper case (capitalized).
I tried the following code but the error is "wrong number of arguments."
LastName: StrConv(Mid([FullName],1,InStr([FullName],',')-1))
What am I doing wrong?