Hi All,
I have an Access 2007 report where the user selects a date from a combo box. After selecting the date, I need the AfterUpdate() event of the combo box to fill in text fields with a calculated total for that month.
My combo box is named "SelectYearMont h" and is populated by the field "YEARMONTH" in my database. I have this part working great.
The report is grouped by "YEARMONTH" and then by "JOBTYPE"
The field "JOBTYPE" is populated by the field "JOBTYPE" in the database. The "JOBTYPE" appears in the "JOBTYPE" header of the report. I also have this part working great.
Here is where I run into problems: Each "JOBTYPE" has a "PAGES" numeric value associated with it. In the "JOBTYPE" footer, I need to calculate the total number of "PAGES" for the "JOBTYPE" by the "YEARMONTH" that is the "SelectYearMont h".
Can anyone please help me with the calculation I need?
Any help is greatly appreciated!
-Diana
I have an Access 2007 report where the user selects a date from a combo box. After selecting the date, I need the AfterUpdate() event of the combo box to fill in text fields with a calculated total for that month.
My combo box is named "SelectYearMont h" and is populated by the field "YEARMONTH" in my database. I have this part working great.
The report is grouped by "YEARMONTH" and then by "JOBTYPE"
The field "JOBTYPE" is populated by the field "JOBTYPE" in the database. The "JOBTYPE" appears in the "JOBTYPE" header of the report. I also have this part working great.
Here is where I run into problems: Each "JOBTYPE" has a "PAGES" numeric value associated with it. In the "JOBTYPE" footer, I need to calculate the total number of "PAGES" for the "JOBTYPE" by the "YEARMONTH" that is the "SelectYearMont h".
Can anyone please help me with the calculation I need?
Any help is greatly appreciated!
-Diana
Comment