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

Combining data into a single string

Status
Not open for further replies.

bosk00

Technical User
Mar 5, 2004
91
US
I have a query that displays information that has been selected with checkbox's on a continuous form. The data is state abreviations. Say the user selects Alabama, Arizona and California. The queries output shows AL, AR, and CA as 3 seperate lines. Is there a way to combine them? The desired output would be 1 line with "AL, AR, CA". Thanks for the help.

Alan
Senility at its finest
 
There is a public function that was written to do this in Thread700-866768

you should be able to paste it directly into a module and run your query with it as shown and you'll get the results you are looking for.

leslie
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top