In VBA, I tried to execute the code below:
SELECT Projid, projstatus, projdescription, Sum(tothrs) FROM Timesheettbl
GROUP BY Projid;
And I get the following error message:
You tried to execute a query without including Projstatus as an aggregage function.
How can I solve this problem?
Thank you all for any help.
Brianus.
SELECT Projid, projstatus, projdescription, Sum(tothrs) FROM Timesheettbl
GROUP BY Projid;
And I get the following error message:
You tried to execute a query without including Projstatus as an aggregage function.
How can I solve this problem?
Thank you all for any help.
Brianus.