Indigo
12-12-2008, 12:30 PM
This one has me stumped, but I'll bet its pretty straight forward. I have a report in Access 2003 that shows points earned by employee over the past two years. This is too long. I want to run the report based on a date range that the user selects from a form. In order to do so, I need to show the balance forward on the report, i.e. I have a field in the report footer "=Sum([Points])" that gives me the total points for the report, but this is not accurate if the range is from Jan 08 to Dec 08 and there are points accumulated prior to Jan 08.
I thought a text box in the header with:
=DSum("[Points]","[CatchTable]","[CatchDate]=> Forms![frmSelectEmp]![StartDate] And [EmpNumber] = Forms![frmSelectEmp]![EmpNumber]")
But I just get an #Error.... Is there an expression that will give me the value I need?
I thought a text box in the header with:
=DSum("[Points]","[CatchTable]","[CatchDate]=> Forms![frmSelectEmp]![StartDate] And [EmpNumber] = Forms![frmSelectEmp]![EmpNumber]")
But I just get an #Error.... Is there an expression that will give me the value I need?