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

I need to put FirName initial with LastName 1

Status
Not open for further replies.

WB786

MIS
Mar 14, 2002
610
I can't figure out how to update a field with firstname initial and lastname in that field. I know how to use the Trim function and putting two fields togather but figure out how to take the first letter of the first name and the whole last name.

Thanks!

:)WB
 
Have a look at the Left function.

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Code:
SELECT Left(firstname,1) FROM tablename

will give you inital
 
POSTMANPHAT THANKS!

Sometime when my brain goes dead I come here! You guys are awsome!

:)WB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top