I am trying to use the concatrelated module to combine multiple rows of a field into one comma delimited field with the values in it. I have been over and over this but keep getting the error "too few parameters: expected 1". Can anyone see anything that would be causing this? Not sure what I am doing wrong.
SELECT Project.Code, Project.Descr, ProjectSection.Scope, ProjectType.Descr, Project.CreatedBy, Project.AssignedTo, ProjSecCosts.CostType,
concatrelated("ProjSecCosts.CostType","ProjSecCost s","Code=" & [project].[Code] & " AND [ProjectSection].[SeqNbr]='" & [ProjSecCosts].[ProjSecNbr] & "'") AS Contractors2
FROM ((Project LEFT JOIN ProjectSection ON Project.Code = ProjectSection.Code) LEFT JOIN ProjectType ON Project.ProjectType = ProjectType.Code) LEFT JOIN ProjSecCosts ON (ProjectSection.Code = ProjSecCosts.Code) AND (ProjectSection.SeqNbr = ProjSecCosts.ProjSecNbr)
WHERE (((ProjSecCosts.Group)="Contractors"));
Any help is appreciated. Thanks!