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

concatenate multiple records - faq701-4233 help

Status
Not open for further replies.

ossse

Programmer
Jun 26, 2007
49
US
I am trying to concatenate multiple records that have the same ID number (same goal as thread705-1197128). I have been using faq701-4233 as a guide however I don't think that I am calling the concatenate function correctly.

ID number field: 'taskCauseTaskID'
Field to concatenate: 'taskCauseFailureCause'
Table: 'TaskCauses'

here is my code, thanks in advance:

Sub Conc()

SELECT taskCauseTaskID, Concatenate ("SELECT taskCauseFailureCause FROM TaskCauses WHERE taskCauseTaskID =" & [taskCauseTaskID])

End Sub
 
You wrote SQL code in a VBA procedure ???

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top