Jan 4, 2006 #1 Ielamrani MIS Jul 7, 2005 183 US Hi, i have a name like this: Smith John I would like to seperate smith from John. In other words put Smith in one field and John in another field. There is a space between smith and John. Thanks Ismail
Hi, i have a name like this: Smith John I would like to seperate smith from John. In other words put Smith in one field and John in another field. There is a space between smith and John. Thanks Ismail
Jan 4, 2006 #2 THWatson Technical User Apr 25, 2000 2,601 CA Ismail In a query create two new columns. One, to isolate the first name, will have the following expression... Left([MyName],InStr([MyName]," ")-1) The other, to isolated the last name will have the following expression... Mid([MyName],InStr([MyName]," ")+1) Tom Upvote 0 Downvote
Ismail In a query create two new columns. One, to isolate the first name, will have the following expression... Left([MyName],InStr([MyName]," ")-1) The other, to isolated the last name will have the following expression... Mid([MyName],InStr([MyName]," ")+1) Tom
Jan 4, 2006 #3 THWatson Technical User Apr 25, 2000 2,601 CA Ismail Sorry, I should have indicated to change [MyName] to whatever your field, that contains the names, is called. Tom Upvote 0 Downvote
Ismail Sorry, I should have indicated to change [MyName] to whatever your field, that contains the names, is called. Tom
Jan 4, 2006 Thread starter #4 Ielamrani MIS Jul 7, 2005 183 US thank you soooo much. I did change MyName to my field name. Ismail Upvote 0 Downvote