If you Define a Window and run the Report IN-Window, the Report will vanish when the Window is released...You can use a Timer to control the delay and close the Window from the launching Form...
(roughtly like this)...
TxtButton.Click()
DEFINE WINDOW Output FROM 2,1 TO 35,95 TITLE 'Output' ;
CLOSE FLOAT GROW ZOOM
ACTIVATE WINDOW OUTPUT
Report Form "I:\Visual Foxpro\Agenttrack\Reports\Timeout" Preview IN WINDOW OUTPUT
Timer.Event()
RELEASE WINDOWS OUTPUT
Just something to get you started...
-Irv.
>The new HIPAA regulations are very likely to require autologoff of our database application after a specified time. What we need to know is how to quit the program from within a timer event if we are in the report form preview screen. Has anyone successfully negotiated this one? My first few tries have not been successful.