sly like Coyote
Registered User.
- Local time
- Today, 06:36
- Joined
- Apr 14, 2010
- Messages
- 82
I have a report I'm building that allows the user to check all allocations made for a specific program; the user can either do a full history of a program (all allocations that have been done), or a given time period. Part of this report is going to be showing the total budget, what was spent during the specified time period, how much has been spent (total), and the remaining balance.
I'm having trouble with the total spent and the remaining balance. The query the report is based on doesn't include this information, or more accurately the data needed to calculate it, once it's been restricted to the allocations made within date range and program ID the user specifies.
Do I need to have a second 'parallel' query that contains ALL the allocation data for all programs and then use a control bound to that recordsource and restricted to the proper program to do this, or is there a less convulated way that I'm missing?
I'm having trouble with the total spent and the remaining balance. The query the report is based on doesn't include this information, or more accurately the data needed to calculate it, once it's been restricted to the allocations made within date range and program ID the user specifies.
Do I need to have a second 'parallel' query that contains ALL the allocation data for all programs and then use a control bound to that recordsource and restricted to the proper program to do this, or is there a less convulated way that I'm missing?