M
Marinda
Hi, iam trying to sum different fields in a row to give me the total of those
field in a new field. For example:
Field - Normal Dayshift - 12
Field - Normal Nightshift - 0
Field - Sunday Dayshift - 0
Field - Sunday Nightshift - 0
New Field - Total Hours - 12
If I use the function: Sum ( [Normal Dayshift] + [Normal Nightshift] +
[Sunday Dayshift] + [Sunday Nightshift] )
it gives me the error message: "You tried to execute a query that does not
include the specific expression 'Type' as part of the aggregate function.
I used to do this in a spreadsheet and my functions worked there, what am I
doing wrong in access? Please help if you can.
field in a new field. For example:
Field - Normal Dayshift - 12
Field - Normal Nightshift - 0
Field - Sunday Dayshift - 0
Field - Sunday Nightshift - 0
New Field - Total Hours - 12
If I use the function: Sum ( [Normal Dayshift] + [Normal Nightshift] +
[Sunday Dayshift] + [Sunday Nightshift] )
it gives me the error message: "You tried to execute a query that does not
include the specific expression 'Type' as part of the aggregate function.
I used to do this in a spreadsheet and my functions worked there, what am I
doing wrong in access? Please help if you can.