Hi,
I have a time card data entry form which is based on a query. On the same row of the continuous form I have created several unbound fields which I want to calculate values based on other fields' data. I plan to then use total calculation fields in the footer to display totals. I can't get the syntax to work correctly to do the following:
If TimeCode field = "H", then take the value from the TimeDuration field and copy it to the temporary form field called Holiday Hours, so that I can then sum the Holiday Hours in the Footer.
I would appreciate anyone's help with this.
My objective is to calculate Holiday Hours, Vacation Hours, Sick Hours, Overtime Hours, Regular Hours for the detailed time records from the TimeEntry table and build a separate table of those values for the payperiod.
:banghead:
I have a time card data entry form which is based on a query. On the same row of the continuous form I have created several unbound fields which I want to calculate values based on other fields' data. I plan to then use total calculation fields in the footer to display totals. I can't get the syntax to work correctly to do the following:
If TimeCode field = "H", then take the value from the TimeDuration field and copy it to the temporary form field called Holiday Hours, so that I can then sum the Holiday Hours in the Footer.
I would appreciate anyone's help with this.
My objective is to calculate Holiday Hours, Vacation Hours, Sick Hours, Overtime Hours, Regular Hours for the detailed time records from the TimeEntry table and build a separate table of those values for the payperiod.
:banghead: