wvandenberg
Technical User
Hi all,
Just wondering if anyone may be able to suggest a way of making this query run faster?
pkSampleID is indexed as it is a primary key.
Thanks in advance,
Wendy
Just wondering if anyone may be able to suggest a way of making this query run faster?
Code:
SELECT DISTINCT Month(Nz([StartDate],0)) AS Expr1, MonthName(Month(Nz([StartDate],0))) AS Expr2
FROM tblSamples
WHERE (((InStr("," & [TempVars]![Samples] & ",","," & [pkSampleID] & ","))>0))
ORDER BY Month(Nz([StartDate],0));
Thanks in advance,
Wendy