If the format of the name is Jan.Doe you need to put 2 parts together.
First initial of First Name = Left([Name],1)
Last Name is a bit more tedious. You need to find the position of the period and get everything after that.
Instr([Name],".") will return the position of the "."
Len([Name]) will return the length of the string.
Last Name then can be computed by Right(Instr([Name],".")+1,Len([Name])-Instr([Name],"."))
Combine the 2 expressions:
Name Like You want = Left([Name],1) & Right(Instr([Name],".")+1,Len([Name])-Instr([Name],"."))
Regards,
Bill
DatabaseMX (Joe Anderson - Former Microsoft Access MVP)
I tried
1). sjklein42's soultion, I got the error message "Undefined function "Substring" in expression" and undefined function "CHARINDEX" in expression"
2).BillDenver's, I got the result is first Letter of first name and numbers. for example, the result is A7, A10 etc.
Open in new window