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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Converting name from last name first to first name first 1

Status
Not open for further replies.

thebobman

Programmer
Sep 25, 2000
12
US
I am working with a data field of people names that are stored last name first ie Public John Q

I need to convert it John Q Public

Any suggestions

Thanks
 
Hi !

Create a formula:

StringVar NewString;
NumberVar pos := Instr({YourName}, ' ');

New_String := mid({YourName},pos +1) + ' ' + mid({YourName},1,pos -1)


And there you will have what you want (I hope).

/Goran
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top