Hi, I have a table with a customer's complete name ie: Fran McLellan & Rueben Grue. I need to get just the last name separtated from this field and then strip the rest out for the first name. I have used this in a query to try and do this:
Lname: Mid([letnam],InStr([letnam]," ")+1,Len([letnam])) this returns: McLellan & Rueben Grue. To get the first name out I used:
Fname: Left([letnam],InStr([letnam]," ")-1) and get Fran returned. What I need to see is Fran McLellan & Rueben for the first name and Grue for the last name. Thanks for any help in advance.
Lname: Mid([letnam],InStr([letnam]," ")+1,Len([letnam])) this returns: McLellan & Rueben Grue. To get the first name out I used:
Fname: Left([letnam],InStr([letnam]," ")-1) and get Fran returned. What I need to see is Fran McLellan & Rueben for the first name and Grue for the last name. Thanks for any help in advance.