Hi Dominique, If I understand correctly, you'd like to 'force' the user off (logoff) after the offices close. I presume all offices close at a certain time (like 5pm)?
variables time vt_delay, vt_close endvariables activate "UTIMER".setmessage("yourcomponent", "", "LogMeOff") vt_close = "17:30:00" vt_delay = vt_close - $clock activate "UTIMER".start(vt_delay)
We have a 'master' component being run from the application startup shell. 'yourcomponent' above is that said master component - thus when the timer kicks in - we end up in the ASYNC trigger of 'yourcomponent'... Then, apexit rules the day. Good luck, Knut
Author: Knut (
knut.dybendahl@gmail.com)