A
Ann Scharpf
I seem to have a lot of problems with writing queries that generate the error:
You tried to execute a query that does not include the specified expression
'[xxx]' as part of an aggregate function.
Neither of the Access classes I took explained what triggers this type of
error and the posts I've seen have not explained it in a general way. Can
anyone explain what TYPE of query error causes this problem?
Right now the query that is getting the error is this:
SELECT Max([PPEdate]) AS LastPPEDate, [CompletedPPEs]/26 AS PctYrComplete
FROM eBizHrsRecordedWithMIPRandTaskPrefix;
eBizHrsRecordedWithMIPRandTaskPrefix is a query that has a record per
employee time record. There is a field for the number of pay periods that
have been completed. I want to divide this value by 26 (total PPEs per
year).
Is it possible to do this in a single query? Thanks for any help you can
give me on a general explanation of the error and a specific response on this
query.
Ann Scharpf
You tried to execute a query that does not include the specified expression
'[xxx]' as part of an aggregate function.
Neither of the Access classes I took explained what triggers this type of
error and the posts I've seen have not explained it in a general way. Can
anyone explain what TYPE of query error causes this problem?
Right now the query that is getting the error is this:
SELECT Max([PPEdate]) AS LastPPEDate, [CompletedPPEs]/26 AS PctYrComplete
FROM eBizHrsRecordedWithMIPRandTaskPrefix;
eBizHrsRecordedWithMIPRandTaskPrefix is a query that has a record per
employee time record. There is a field for the number of pay periods that
have been completed. I want to divide this value by 26 (total PPEs per
year).
Is it possible to do this in a single query? Thanks for any help you can
give me on a general explanation of the error and a specific response on this
query.
Ann Scharpf