Hi All,
When a MsgBox halts execution of code it can be a good thing, you can get a Response. The downside is that my Detect Idle code (1 hour) stops counting down and my Eject Users code stops looking for a tick in the Settings table.
My problem is that one user has found that he can pick up tomorrow where he ended today just by leaving a message on screen and that makes my Detect Idle and Eject Users somewhat pointless.
Plan A. Make your own “MyMsgBox” with TempVars to return the button press but that only works with DoCmd.Open ,,,,,acDialog so this again halts the Detect Idle and Eject Users code until the MsgBox is cleared.
Plan B. Loads of great message box examples at isladogs.co.uk, thanks CR and I wish I’d seen your Detect Idle before.
Plan C. Try to understand if Isladogs message form + timer can; A) stop code execution, B) send back which button was pressed and, importantly, C) close itself after 2 minutes have passed.
Any suggestions / guidance on the best way forward would be very much appreciated.
Thanks, Mick (no longer 55, I can now see the tunnel at the end of the light)
When a MsgBox halts execution of code it can be a good thing, you can get a Response. The downside is that my Detect Idle code (1 hour) stops counting down and my Eject Users code stops looking for a tick in the Settings table.
My problem is that one user has found that he can pick up tomorrow where he ended today just by leaving a message on screen and that makes my Detect Idle and Eject Users somewhat pointless.
Plan A. Make your own “MyMsgBox” with TempVars to return the button press but that only works with DoCmd.Open ,,,,,acDialog so this again halts the Detect Idle and Eject Users code until the MsgBox is cleared.
Plan B. Loads of great message box examples at isladogs.co.uk, thanks CR and I wish I’d seen your Detect Idle before.
Plan C. Try to understand if Isladogs message form + timer can; A) stop code execution, B) send back which button was pressed and, importantly, C) close itself after 2 minutes have passed.
Any suggestions / guidance on the best way forward would be very much appreciated.
Thanks, Mick (no longer 55, I can now see the tunnel at the end of the light)