beginner33
New member
- Local time
- Today, 08:42
- Joined
- Apr 13, 2012
- Messages
- 2
Dear All!
I have no idea how to solve one problem in MS Access, that even to me sounds like Lesson nr.1, although I am more or less beginner in MS Access. I am stuck! Any help is much appreciated.
I have a table with numerous records (15.000 and it's growing). Each record contains all sorts of data about defective devices (When device was broken down, when it was repaired, etc.)
Simplified: Each record in my table contains three columns, like CASE_ID, DATE_STARTED, DATE_CLOSED. Parameter DATE_CLOSED can also be empty if the case is still open today.
Example:
1’st case was open on 1.4.2012 and closed on 2.4.2012
2’nd case was opened on 30.3.2012 and closed on 4.4.2012
Result:
Date…………..Number of open Cases
28.03.2012……………0
29.03.2012……………0
30.03.2012……………1
01.04.2012……………2
02.04.2012……………2
03.04.2012……………1
04.04.2012……………1
05.04.2012……………0
06.04.2012……………0
As a final result, I would like to create a Graph that shows how many service cases were open each day (can also be grouped by week; if the number of records will become critical) over a several years. For that I need a Query with Rows like running date (or week) and column that shows how many cases were opened that particular day (or week).
I don't know how to achieve that loop, that loops through the table and counts the open cases for each day.
Can anybody help me to create that Query? Thanks in advance!
I have no idea how to solve one problem in MS Access, that even to me sounds like Lesson nr.1, although I am more or less beginner in MS Access. I am stuck! Any help is much appreciated.
I have a table with numerous records (15.000 and it's growing). Each record contains all sorts of data about defective devices (When device was broken down, when it was repaired, etc.)
Simplified: Each record in my table contains three columns, like CASE_ID, DATE_STARTED, DATE_CLOSED. Parameter DATE_CLOSED can also be empty if the case is still open today.
Example:
1’st case was open on 1.4.2012 and closed on 2.4.2012
2’nd case was opened on 30.3.2012 and closed on 4.4.2012
Result:
Date…………..Number of open Cases
28.03.2012……………0
29.03.2012……………0
30.03.2012……………1
01.04.2012……………2
02.04.2012……………2
03.04.2012……………1
04.04.2012……………1
05.04.2012……………0
06.04.2012……………0
As a final result, I would like to create a Graph that shows how many service cases were open each day (can also be grouped by week; if the number of records will become critical) over a several years. For that I need a Query with Rows like running date (or week) and column that shows how many cases were opened that particular day (or week).
I don't know how to achieve that loop, that loops through the table and counts the open cases for each day.
Can anybody help me to create that Query? Thanks in advance!