D
Deano
I am having a problem totaling the total hours worked.
I have a query with a number of fields includes dates and times plus a
calculation that calculates the total time (spent on a job). I then use
this query on a report and place the Calculated field on the details line.
I then have a Grand Total in the Report Footer which totals all the
calculated times for each job.
Here's how the Table/Query are setup
The table which the queried fields refer to are all standard text fields
plus all time field properties set as :- Date/Time , Short Time, Input Mask
00:00;0;_ which are fields 'StartTime' and 'FinishTime'.
The calculation field in the query is : TotalTime:
Format(TimeValue([finishtime])-TimeValue([starttime]),"h:nn").
The GrandTotal 'Control Source' in the Report Footer is set to
=Sum([TotalTime])
When I run the report, I get the message "The expression is typed
incorrectly, or it is too complex to be evaluated"
I have tried many different ways, even making a table out of the queried
results and summing on the fields but still get the same problems. Can
anyone help.
If more info is need, please let me know
Many thanks in Advance
I have a query with a number of fields includes dates and times plus a
calculation that calculates the total time (spent on a job). I then use
this query on a report and place the Calculated field on the details line.
I then have a Grand Total in the Report Footer which totals all the
calculated times for each job.
Here's how the Table/Query are setup
The table which the queried fields refer to are all standard text fields
plus all time field properties set as :- Date/Time , Short Time, Input Mask
00:00;0;_ which are fields 'StartTime' and 'FinishTime'.
The calculation field in the query is : TotalTime:
Format(TimeValue([finishtime])-TimeValue([starttime]),"h:nn").
The GrandTotal 'Control Source' in the Report Footer is set to
=Sum([TotalTime])
When I run the report, I get the message "The expression is typed
incorrectly, or it is too complex to be evaluated"
I have tried many different ways, even making a table out of the queried
results and summing on the fields but still get the same problems. Can
anyone help.
If more info is need, please let me know
Many thanks in Advance