wheeledgoat
Registered User.
- Local time
- Today, 11:43
- Joined
- Feb 12, 2019
- Messages
- 16
Hello folks,
Cooking up a "Visit Tracking" application in Access (2007-2016 format). Each area has its own Popup form:
-Front Desk
-Nurse
-Doc
-etc...
1. The front desk creates a visit, and it appears on the Nurse's form
2. The nurse rooms the patient, marks which doc and room, and the visit appears on the appropriate Doc's form
3. Same idea as the visit progresses through similar queues for the MOA, pharmacy, etc...
The db is split. All this works great.
I want to set an alert on the form when there has been a new addition to their queue. Running on the form's timer, when it finds an addition it pops the window up on top of other windows (AppActivate) and plays a wav file. This works fine.
My problem: As the trigger for the "new" patient alert, I have it testing if the record is <2min old, running on the form's timer every 60 seconds. This means some new visits will alert twice (if the initial checkin is done just before the next minute, per access rounding. The time is automatically recorded upon ticking a checkbox).
At first I considered creating a field in the table to keep track if the visit has been alerted, but it's possible that two nurses will have their own front end of the same form open, and it should alert for both of them. If it alerts for one nurse and records on the backend table as alerted, the 2nd nurse's front end won't alert.
Any ideas on how to keep track of if a visitID has been alerted for each front end instance?
Cooking up a "Visit Tracking" application in Access (2007-2016 format). Each area has its own Popup form:
-Front Desk
-Nurse
-Doc
-etc...
1. The front desk creates a visit, and it appears on the Nurse's form
2. The nurse rooms the patient, marks which doc and room, and the visit appears on the appropriate Doc's form
3. Same idea as the visit progresses through similar queues for the MOA, pharmacy, etc...
The db is split. All this works great.
I want to set an alert on the form when there has been a new addition to their queue. Running on the form's timer, when it finds an addition it pops the window up on top of other windows (AppActivate) and plays a wav file. This works fine.
My problem: As the trigger for the "new" patient alert, I have it testing if the record is <2min old, running on the form's timer every 60 seconds. This means some new visits will alert twice (if the initial checkin is done just before the next minute, per access rounding. The time is automatically recorded upon ticking a checkbox).
At first I considered creating a field in the table to keep track if the visit has been alerted, but it's possible that two nurses will have their own front end of the same form open, and it should alert for both of them. If it alerts for one nurse and records on the backend table as alerted, the 2nd nurse's front end won't alert.
Any ideas on how to keep track of if a visitID has been alerted for each front end instance?