Hey guys,
Here is my dilemma: I need to produce some metrics showing when a record has changed its state.
So I have a table, called tblRule. For each Rule, the user would populate a filed “CurrState” from a combo-box on a form. Now, I have to find a way to track somehow when a specific Rule changes from one “CurrState” to another… for example:
Rule # 12345 changed from state “reviewed” to state “approved”
Rule # 12388 changed from a state “updated” to a state “reviewed”, and so on.
Those various states belong to the same combo-box.
This change must be simultaneous, so one Rule can have only one state at a time. But when flips, I somehow need to remember what was the previous state, so I can prepare the metrics.
The metrics should show how many rules have moved from a state to state daily. And for every rule what state is currently and what was the prior state.
I guess I need to do some changes to the table, or I need to run some code (and I don’t know what or how to write that code)?
I tried to do some searches on the topic but it was a challenge as well….
I hope my explanation on what I am trying to do makes sense.
Any assistance is greatly appreciated.
Atol
Here is my dilemma: I need to produce some metrics showing when a record has changed its state.
So I have a table, called tblRule. For each Rule, the user would populate a filed “CurrState” from a combo-box on a form. Now, I have to find a way to track somehow when a specific Rule changes from one “CurrState” to another… for example:
Rule # 12345 changed from state “reviewed” to state “approved”
Rule # 12388 changed from a state “updated” to a state “reviewed”, and so on.
Those various states belong to the same combo-box.
This change must be simultaneous, so one Rule can have only one state at a time. But when flips, I somehow need to remember what was the previous state, so I can prepare the metrics.
The metrics should show how many rules have moved from a state to state daily. And for every rule what state is currently and what was the prior state.
I guess I need to do some changes to the table, or I need to run some code (and I don’t know what or how to write that code)?
I tried to do some searches on the topic but it was a challenge as well….
I hope my explanation on what I am trying to do makes sense.
Any assistance is greatly appreciated.
Atol