Thanks a lot.
Life has an uncanny way of responding to your need.
在 "John Viescas JohnV@msn.com [MS_Access_Professionals]" <MS_Access_Professionals@yahoogroups.com>，2016年4月6日 下午6:25写道：
Kevin-FirstName: Left([PassengerFullName], Instr([PassengerFullName], " ")-1)FamilyName: Mid([PassengerFullName], Instr([PassengerFullName], " ")+1)John Viescas, AuthorMicrosoft Access 2010 Inside OutMicrosoft Access 2007 Inside OutMicrosoft Access 2003 Inside OutBuilding Microsoft Access ApplicationsSQL Queries for Mere Mortals(Paris, France)
On Apr 6, 2016, at 12:21 PM, 'email@example.com' firstname.lastname@example.org [MS_Access_Professionals] <MS_Access_Professionals@yahoogroups.com> wrote:Duane-I think I know to how to solve my problem. I am going to try to use Right() to find the first space, then to use Instr() to get the family name. And the same way to get first name. Thanks a lot.Best Regards,KevinKevin,
Do you really want to include the titles with the names?
Are there always a first name, space, and last name?
Have you looked into the string functions like Instr(), Left(), Right() , and Mid()?
What have you tried so far?
Duane Hookom, MVP
Date: Wed, 6 Apr 2016 12:00:49 +0800
Subject: [MS_AccessPros] Split a text field into two text fields.Dear All,
I have a text field called "PassangerFullName", for example:
PassangerFullName: Jack Smith
My question is: how to split this "PassangerFullName" into two text field,namely "FirstName: Jack" and "FamilyName: Smith"? Thanks in advance.
Posted by: zhaoliqingoffice <email@example.com>
|Reply via web post||•||Reply to sender||•||Reply to group||•||Start a New Topic||•||Messages in this topic (6)|
Have you tried the highest rated email app?
With 4.5 stars in iTunes, the Yahoo Mail app is the highest rated email app on the market. What are you waiting for? The Yahoo Mail app is fast, beautiful and intuitive. Try it today!