If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
change a first-last to last, first
Using Access 2000
I have a db with every single player that has ever played with the Milw. Brewers. But this table has the Player's Name All in one field like such: John Doe (just a space between the first & last name). Is there a way to seperate this into two fields OR flip it and include a comma so it would either be Last Name First Name Doe John OR Doe,John TIA, _Bigred |
#2
|
|||
|
|||
Is the data always consistent? If so you can add two new fields and use an
update query which updates the new fields with expressions like: Left([PlayerName], Instr([PlayerName]," ")-1) and Mid([PlayerName], Instr([PlayerName]," ")+1) I would recommend against putting these back into one field. Store "Gorman" and "Thomas" rather than "Thomas, Gorman". -- Duane Hookom MS Access MVP from WI "_Bigred" wrote in message ... Using Access 2000 I have a db with every single player that has ever played with the Milw. Brewers. But this table has the Player's Name All in one field like such: John Doe (just a space between the first & last name). Is there a way to seperate this into two fields OR flip it and include a comma so it would either be Last Name First Name Doe John OR Doe,John TIA, _Bigred |
#3
|
|||
|
|||
Thanks Duane, I will check this out and let you know if it fix my issue.
_Bigred "Duane Hookom" wrote in message ... Is the data always consistent? If so you can add two new fields and use an update query which updates the new fields with expressions like: Left([PlayerName], Instr([PlayerName]," ")-1) and Mid([PlayerName], Instr([PlayerName]," ")+1) I would recommend against putting these back into one field. Store "Gorman" and "Thomas" rather than "Thomas, Gorman". -- Duane Hookom MS Access MVP from WI "_Bigred" wrote in message ... Using Access 2000 I have a db with every single player that has ever played with the Milw. Brewers. But this table has the Player's Name All in one field like such: John Doe (just a space between the first & last name). Is there a way to seperate this into two fields OR flip it and include a comma so it would either be Last Name First Name Doe John OR Doe,John TIA, _Bigred |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to change the company name and user name in the About |
[email protected] | General Discussions | 0 | May 11th, 2005 03:13 PM |
Change value for multiple columns? | MN | Running & Setting Up Queries | 8 | October 22nd, 2004 03:11 PM |
How can I Change recurrence settings with OUT updating details???? | Shawn Anderson | General Discussion | 3 | September 20th, 2004 06:38 PM |
change regional Settings To UK currency format from a shared hosting server in Germany... | Edward | General Discussion | 1 | September 19th, 2004 11:36 AM |
A change of track changes | Lorrie | Formatting Long Documents | 1 | June 12th, 2004 02:32 AM |