Thank you for your response PBaldy, I apologize for not being more clear. I have tried basing the totals on table and on the query, and receive the same results. Please see below for a sample of the database design:
Budget |
Resource
Yr
MoNum (as number, such as January = 1)
MonthHrs |
My query (titled budgetmonthcalc) to get the budget from the user entered period is as follows:
Code:
SELECT Budget.Resource, Budget.MonthHrs AS BudgetMonthHrs
FROM Budget
WHERE (((Budget.MoNum)=Month(CVDate((Forms!Form1!PeriodTextBox.Value)))) And ((Budget.Yr)=Year(CVDate((Forms!Form1!PeriodTextBox.Value)))));
Where the parameters are pulling the date based upon a user entered period on form1.
When setting the textbox in the report footer section to =Sum([budgetmonthcalc].[BudgetMonthHrs])
I still get the 55,000 budgeted hours for all resources/months, despite my query displaying the correct resources and month budget hours.
Does this explain in more detail my situation? Is there something that I could change to fix this?