Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Seperate Name?

Status
Not open for further replies.

Ielamrani

MIS
Jul 7, 2005
183
US
Hi,
I would like help on how to seperate Full Name to Last and First.

Example:

Full Name: NEJAT, MICHAEL

I want The query to show:

Last Name: NEJAT
First Name: MICHAEL

THANKS IN ADVANCE

iSMAIL

 


Hi,
Code:
Select Right([Full Name],Len([Full Name])-inStr([Full Name],",")) As First, Left([Full Name],inStr([Full Name],",")-1) As Last, ...




Skip,

[glasses] [red]Be Advised![/red]
A wee deranged psychic may be runnin' around out there!
SMALL MEDUIM @ LARGE[tongue]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top