MichaelRed
Programmer
In thread222-794484, there is a discussion re stopping a program programatically. The discussion focues on having a FORM with the attendant timer. This seems to be "OK" for apps which always have a form with the focus.
There is also a cryptic reference to "WaitTable". I have briefly searched for examples which use this (assuming it does not require a Screen.Active.[Form | Report | ... ].
When doing development, there are numerous occurances where the code window (amongst others) is the active XXX and this causes error(s) in the procedures shown.
Further, using a split db operation, there are 'occasions' when the app closes w/o out closing the dbconnection (e.g. Jet engine). This causes some difficulty in doing any maintenance work on the db part.
Anyone know of a way to resonably have a time out process work and not generate an error if the focus is not any of the Scerrn objects? And Which could (again) reasonably be applied to an orphan connection to the db part of the app?
Mike Red
MichaelRed
There is also a cryptic reference to "WaitTable". I have briefly searched for examples which use this (assuming it does not require a Screen.Active.[Form | Report | ... ].
When doing development, there are numerous occurances where the code window (amongst others) is the active XXX and this causes error(s) in the procedures shown.
Further, using a split db operation, there are 'occasions' when the app closes w/o out closing the dbconnection (e.g. Jet engine). This causes some difficulty in doing any maintenance work on the db part.
Anyone know of a way to resonably have a time out process work and not generate an error if the focus is not any of the Scerrn objects? And Which could (again) reasonably be applied to an orphan connection to the db part of the app?
Mike Red
MichaelRed