Heythere82
Registered User.
- Local time
- Today, 12:07
- Joined
- Feb 17, 2016
- Messages
- 14
Hi
Background
I'm building a database to track incidents. Depending on the nature of the incident, it might be immediately closed or left 'open' (unresolved) for a period of time.
I've be trying to create a dashboard form that displays the 10 most recent incidents, their status (closed or open), and the elapsed time (if open). I've done this through a continuous form feeding from a query.
The Problem
I can calculate the elapsed time (the current time MINUS the open time) and display it in a text box. However, all 10 text boxes display the same elapsed time because the calculation is only applying to the current record.
If I try creating a loop that will move between each record after calculating elapsed time, all 10 text boxes update to the current record instead of the one record it's referencing. So...
How can I reference individual records on a continuous form?
To be clear, I mean referencing the specific OpenTime text box that has information from record 1 instead of referencing the general OpenTime text box which will contain information from records 1 through record 10.
or Is there a better way of going about this?
Any help would be greatly appreciated!
Thanks
Background
I'm building a database to track incidents. Depending on the nature of the incident, it might be immediately closed or left 'open' (unresolved) for a period of time.
I've be trying to create a dashboard form that displays the 10 most recent incidents, their status (closed or open), and the elapsed time (if open). I've done this through a continuous form feeding from a query.
The Problem
I can calculate the elapsed time (the current time MINUS the open time) and display it in a text box. However, all 10 text boxes display the same elapsed time because the calculation is only applying to the current record.
If I try creating a loop that will move between each record after calculating elapsed time, all 10 text boxes update to the current record instead of the one record it's referencing. So...
How can I reference individual records on a continuous form?
To be clear, I mean referencing the specific OpenTime text box that has information from record 1 instead of referencing the general OpenTime text box which will contain information from records 1 through record 10.
or Is there a better way of going about this?
Any help would be greatly appreciated!
Thanks