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!

Query Syntax

Status
Not open for further replies.

Rjc8513

Technical User
Feb 12, 2001
140
US
Can someone help me figure out the correct syntax for the following?

dbs.CreateQueryDef "QueryName", _
"SELECT [Last Name]'" & ", " & " [First Name]" ...

I'm trying to concatenate Last Name followed by a comma and First Name.

Thanks.
 
SELECT [Last Name] & ", " & [First Name] as [Full Name] FROM myTable Get the Best Answers! faq333-2924
"A witty saying proves nothing." - Voltaire
mikewolf@tst-us.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top