I have a VB query that starts off with:
mysql = "SELECT StrConv(Concatenate(""SELECT DISTINCT Company FROM qryJC WHERE ID="" & [Business].[ID]),3)"
ie there are other fields that follow above line.
However I think the query contained qryJC keeps running the above mysql query each time it concantenates the field company.
The query qryJC is:
SELECT Junction.ID, Companies.Company AS Expr1
FROM Companies INNER JOIN Junction ON Companies.CompanyID = Junction.CompanyID;
Can anyone confirm this is the case, I think it is as the same number of records which are identicle are related to the number of records being dealt with in concanenation.
Thanks
mysql = "SELECT StrConv(Concatenate(""SELECT DISTINCT Company FROM qryJC WHERE ID="" & [Business].[ID]),3)"
ie there are other fields that follow above line.
However I think the query contained qryJC keeps running the above mysql query each time it concantenates the field company.
The query qryJC is:
SELECT Junction.ID, Companies.Company AS Expr1
FROM Companies INNER JOIN Junction ON Companies.CompanyID = Junction.CompanyID;
Can anyone confirm this is the case, I think it is as the same number of records which are identicle are related to the number of records being dealt with in concanenation.
Thanks