In our shared database is a job form which causes lock issues from time to time with people leaving it open.
I would like to put a timer on the form lostfocus event that will cause the form to close if it has lost focus for, say 2 mins.
I would need to get the code to check if the form has focus before closing after timing out in case the user has come back to it after the timer starts.
If a user changes from access to outlook, does that trigger the lost focus event or is that only access specific?
I guess this is the crux of my idea which I need a definitive answer on before beginning.
Thanks in advance,
Allan