we have accounts that are assigned a status: red, yellow, green (actually these are values 3, 2, 1)
every time the status of an account changes - the change is date stamped and stored in tblAcctHist (history). this table records AcctID, old status, new status, date & time.
my question: i want to know how many accounts were red every day for the last month. (show count for every day)
I'm not sure how to go about it because i don't have a record for everyday the account is red.
just a record when it went red (3) and another when it changed "out of red" ( to yellow (2) or green (1))
help please?
thanks
laurel
every time the status of an account changes - the change is date stamped and stored in tblAcctHist (history). this table records AcctID, old status, new status, date & time.
my question: i want to know how many accounts were red every day for the last month. (show count for every day)
I'm not sure how to go about it because i don't have a record for everyday the account is red.
just a record when it went red (3) and another when it changed "out of red" ( to yellow (2) or green (1))
help please?
thanks
laurel