My table is formated as follows:
MTBF data:
Date Entered Ranges from 6/1/2001 to present
WorkOrderNotes Memo Data type
Bearings Checkbox
Starter Checkbox
Motor Checkbox
Other Checkbox
My users goes through a form, read the Work Order Notes, and check all boxes that apply (can be more than one)
What I am trying to do is have a query output the following:
MonthAndYear Failures To Date
------------ ----------------
Jun-2001 4
Jul-2001 3(this month) + 4(previous) = 7
Aug-2001 6(this month) + 7(previous) = 13
Sep-2001 1(this month) + 13(previous) = 14
... ...
what I have so far is:
which just sorts by yyyymm and displays mmm-yyyy (easy part, lol)
"Failures To Date" is the sum of checked boxes for the month + previous
I looked at faq701-5268, but I could not get it to work i think because i am using a total
query
I have access 2003 there is a Runningsum property, but i dont understand how to use it.
I am new to access, I just started monday.
all ideas are welcome, thanks
MTBF data:
Date Entered Ranges from 6/1/2001 to present
WorkOrderNotes Memo Data type
Bearings Checkbox
Starter Checkbox
Motor Checkbox
Other Checkbox
My users goes through a form, read the Work Order Notes, and check all boxes that apply (can be more than one)
What I am trying to do is have a query output the following:
MonthAndYear Failures To Date
------------ ----------------
Jun-2001 4
Jul-2001 3(this month) + 4(previous) = 7
Aug-2001 6(this month) + 7(previous) = 13
Sep-2001 1(this month) + 13(previous) = 14
... ...
what I have so far is:
Code:
SELECT Format([MTBF data]![Date Entered],"mmm-yyyy") AS [Month]
FROM [MTBF data]
GROUP BY Format([MTBF data]![Date Entered],"mmm-yyyy"), Format([MTBF data]![Date Entered],"yyyymm")
ORDER BY Format([MTBF data]![Date Entered],"yyyymm");
which just sorts by yyyymm and displays mmm-yyyy (easy part, lol)
"Failures To Date" is the sum of checked boxes for the month + previous
I looked at faq701-5268, but I could not get it to work i think because i am using a total
query
I have access 2003 there is a Runningsum property, but i dont understand how to use it.
I am new to access, I just started monday.
all ideas are welcome, thanks