I've inserted the module and tinkered with the ConCatRelated code, then I've created the following in the query SQL view:
Code:
SELECT MaintenanceTurnover.Time_Date, MaintenanceTurnover.Coater_1_NCR, MaintenanceTurnover.Coater_1_NCR_Reason, MaintenanceTurnover.Coater_1_NCR_Reasons, ConCatRelated("Coater_1_NCR_Reasons","Maintenance Turnover","Time_Date = " & [Time_Date]) AS Expr1
FROM MaintenanceTurnover
WHERE (((MaintenanceTurnover.Coater_1_NCR)>=1))
GROUP BY MaintenanceTurnover.Time_Date
ORDER BY MaintenanceTurnover.Time_Date;
I get the error - undefined function "ConCatRelated' in expression. Why is this query not seeing the public function created in the database VB?