Auto Exit
Boaz Bezborodko
boaz at mirrotek.com
Mon Nov 25 06:30:59 PST 2013
> Message: 1
> Date: Mon, 25 Nov 2013 06:12:17 -0500
> From: "SmittyUSN1" <smittyusn1 at bellsouth.net>
> Subject: Auto Exit
> To: <filepro-list at lists.celestial.com>
> Message-ID: <50F39941E8454BC1A208109D4ABFCA20 at DX4870>
> Content-Type: text/plain; charset="iso-8859-1"
>
> I was hoping the list could give me some ideas on how to keep a user from leaving their workstation in a blank record. I exit them back to a menu after they SAVE a record, this is happening when they ADD a record, then leave.
>
> I would like to CLOSE the open record and EXIT back to the menu in XX amount of time (10 minutes) after NO activity from the user. I have toyed with TIME now, but not getting anywere.
>
> Windows 7, filePro 5.0.9 Network
>
> Thanks ahead of time,
>
> Wayne Smith
> Port Orange, Florida
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20131125/947bf04c/attachment.html
While using INKEY in a loop is considered "verboten" because of the
amount of processing time it can take up, you can put it in with a SLEEP
that will hold off running INKEY too often. Sleep for a few
milliseconds each time and then loop to INKEY again. You can then check
the time since the last operation and EXIT if it takes too long. The
number of times INKEY will actually be run won't be very much as far as
modern processors are concerned.
If the person is in a record then it becomes far more complex since
you'll have to intercept all key entries...Filepro will halt processing
when in a field.
Boaz
---
This email is free from viruses and malware because avast! Antivirus protection is active.
http://www.avast.com
More information about the Filepro-list
mailing list