G
Guest
I have recently purchased total access analyzer – a great tool. When I ran
it, I got a message about a slow Count function.
I would like to know how to change the query below so it doesn’t use the
slow count function, but I haven’t a clue how to.
The query is used to display the total number of each item on a summary form.
Here is the SQL:
SELECT tblRecords.TrID, tblRecords.Item, tblRecords.Rating,
Count(tblRecords.Item) AS CountOfItem, tblRecords.Updated
FROM tblRecords
ORDER BY tblRecords.TrID, tblRecords.Item, tblRecords.Rating;
it, I got a message about a slow Count function.
I would like to know how to change the query below so it doesn’t use the
slow count function, but I haven’t a clue how to.
The query is used to display the total number of each item on a summary form.
Here is the SQL:
SELECT tblRecords.TrID, tblRecords.Item, tblRecords.Rating,
Count(tblRecords.Item) AS CountOfItem, tblRecords.Updated
FROM tblRecords
ORDER BY tblRecords.TrID, tblRecords.Item, tblRecords.Rating;