matt beamish
Registered User.
- Local time
- Today, 16:34
- Joined
- Sep 21, 2000
- Messages
- 215
I wish to calculate a running balance on a form.
The sum is the sum of hours worked over contracted hours within the same month as the current record, and with date values previous to the current record.
I have a query "Q_running_Balance" that holds the balances
I am using this in the text box control
=DLookUp("RunningBalance","Q_Running_Balance","txtYearMonth=Forms!F_Daily_overall_Time_Sheet!txtYearMonth" & "ConHoursDate<Forms!F_Daily_overall_Time_Sheet!ConHoursDate")
I am using DLookup to give an overall month balance but this does not adust for dates earlier in the month, and I do need to calculate a running total for the month.
I am getting no value returned.
Thanks in advance
Matt
The sum is the sum of hours worked over contracted hours within the same month as the current record, and with date values previous to the current record.
I have a query "Q_running_Balance" that holds the balances
I am using this in the text box control
=DLookUp("RunningBalance","Q_Running_Balance","txtYearMonth=Forms!F_Daily_overall_Time_Sheet!txtYearMonth" & "ConHoursDate<Forms!F_Daily_overall_Time_Sheet!ConHoursDate")
I am using DLookup to give an overall month balance but this does not adust for dates earlier in the month, and I do need to calculate a running total for the month.
I am getting no value returned.
Thanks in advance
Matt