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

Joining seperate lname and fname fields in a query

Status
Not open for further replies.

Bkster

Technical User
Jan 25, 2002
94
0
0
US
I have a database where there is a field for the lname and a field for the fname. I have created a dynamic drop down list in Dreamweaver. I would like to connect to a query in access where it puts the lname and fname together. Any ideas or best practices on how this is done. Thanks in advance for the help

Brian
 
Use this SQL to create a new query. Update the red table name with your table name:

Select (A.lname & " " & A.fname) as FullName
FROM tblYourTableName as A
Order by A.lname, A.fname;

Post back with any question you may have.

Bob Scriver
Want the best answers? See FAQ181-2886
Nobody believes the official spokesman... but everybody trusts an unidentified source.
Author, Bagdad Bob???

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top