I'm trying to create a report in Access 2003 that lists all children for each individual in a single concatenated string. Allen Browne's ConcatRelated() looked promising.
So I copied the code into a module, compiled it from the debug menu (nothing happened) and made a query:
SELECT Moms.MomID, Moms.MomLast, ConcatRelated("KidFirst","Kids","MomID =" & Kids.MomID)
FROM Kids INNER JOIN Moms ON Kids.MomID = Moms.MomID;
And I get an error that says "Undefined function 'Concatrelated' in expression.
What has gone wrong? The only place I deviated from the directions was to type "ConcatRelated" in the module name.