houstonbill
Technical User
- Nov 6, 2006
- 92
I am looking for advice on the best way to get a result. I have 2 tables that are automatically updated daily as a result of a mainframe download. One is an “tblOpenCases” and the other is “tlbClosedCases”. Obviously these will change daily in that what is open today may or may not be closed and once that happens, it shows up on the closed table. For reporting purposes, I have to record and retain by date what was opened and closed on each day. Even though the Open table (in particular) will drop its cases once they are closed, I do not want the report to change the totals originally recorded for the report. Currently, I have a Make Table Query that pulls the current date totals from the Open and Closed tables combined which provides a new table by date and a permanent record. This, along with a few other make table queries, is activated at the time of startup.
Because there is a sequence of events that take place each day (different database activates download of data, then my adhoc database is opened) I find that sometimes the made table functions drop a date on occasion and I have to recover data.
I would like to know if there is another way that I can obtain and retain the # of open cases by date in a on-going list?
Below is an example of some of the fields that are used, with date1 being the primary date as to when the case is opened in the system?
RecDt FirstName LastName CNum Date1 Date1Status Date2 Date2Status
Because there is a sequence of events that take place each day (different database activates download of data, then my adhoc database is opened) I find that sometimes the made table functions drop a date on occasion and I have to recover data.
I would like to know if there is another way that I can obtain and retain the # of open cases by date in a on-going list?
Below is an example of some of the fields that are used, with date1 being the primary date as to when the case is opened in the system?
RecDt FirstName LastName CNum Date1 Date1Status Date2 Date2Status