>I have an application in which I would like to fire a report in preview mode and then close it after a specific timer interval has elapsed (I then produce the report again so that any new data is reflected).
>I invoke a form with the timer set. The intervals elapse just fine, the code associated with the report generation fires up, but when I invoke the report again, there is no change. I assume it is because I couldn't tell the report to end (window close, etc.). The customer is adamant that the process not involve the user pressing any keys, so it has to be automated.
>
>Any ideas on how I can cause the repor to end?
>
>Thanks...
>Bob Peterson
If using standard preview then
RELEASE WINDOWS "Report Designer"
If it's not broken, fix it until it is.
My Blog