matt beamish
Registered User.
- Local time
- Today, 10:20
- Joined
- Sep 21, 2000
- Messages
- 215
I have a written a time recording database. Users enter job start and end times within days, creating a total from which is subtracted contracted hours (which can vary). Users are allowed to accrue a flexi-balance (hours worked more or less than contracted hours) within any calender month. This balance can either be taken as flexi-leave or transfered to the next month, although the transfer cannot exceed 7.4 hours.
Within a form I want to show the summed monthly balance (which comprises the total of daily balances within the current month and the transferred balances of previous months).
I have created a txt month and year field for each record by using the month and year functions on dates, and then concatenating the month and year to create for example "5 2008"
I have a query that calculates the transferable balance for each month (using Iif to cap the value at 7.4). How do I restrict the choice of months so that only the months prior to that shown on the current form are summed.
I think this must be very simple, but I cant see how to do it! Apologies if none/little of this, makes sense.
Matt
Within a form I want to show the summed monthly balance (which comprises the total of daily balances within the current month and the transferred balances of previous months).
I have created a txt month and year field for each record by using the month and year functions on dates, and then concatenating the month and year to create for example "5 2008"
I have a query that calculates the transferable balance for each month (using Iif to cap the value at 7.4). How do I restrict the choice of months so that only the months prior to that shown on the current form are summed.
I think this must be very simple, but I cant see how to do it! Apologies if none/little of this, makes sense.
Matt