May 4, 2001 #1 benzhaotb Technical User Joined Dec 25, 2001 Messages 46 Location US Can anyone program Foxpro 2.6a auto log out a user after 20 mins without activaties. Tahnks
May 5, 2001 1 #2 ramani Programmer Joined Mar 15, 2001 Messages 4,336 Location AE In the READ or BROWSE.. in which the cursor waits for the user input, include the TIMEOUT option. Just after the read/browse... add the code IF READKEY() = 20 .or. READKEY() = 268 && close all tables etc && ROUTINES FOR PROTECTION OF Dbfs ETC QUIT ENDIF Hope this helps you ramani :-9 (Subramanian.G) FoxAcc ramani_g@yahoo.com Upvote 0 Downvote
In the READ or BROWSE.. in which the cursor waits for the user input, include the TIMEOUT option. Just after the read/browse... add the code IF READKEY() = 20 .or. READKEY() = 268 && close all tables etc && ROUTINES FOR PROTECTION OF Dbfs ETC QUIT ENDIF Hope this helps you ramani :-9 (Subramanian.G) FoxAcc ramani_g@yahoo.com
May 5, 2001 #3 ramani Programmer Joined Mar 15, 2001 Messages 4,336 Location AE READKEY() = 20 .or. READKEY() = 276 ... not 268 as mentioned above. Sorry for the error. ! :-( ramani :-9 (Subramanian.G) FoxAcc ramani_g@yahoo.com Upvote 0 Downvote
READKEY() = 20 .or. READKEY() = 276 ... not 268 as mentioned above. Sorry for the error. ! :-( ramani :-9 (Subramanian.G) FoxAcc ramani_g@yahoo.com
May 5, 2001 #4 Guest_imported New member Joined Jan 1, 1970 Messages 0 Thanks everyone. I will try it and let you know the results. Upvote 0 Downvote