Access97 application remains open

tbprog

Registered User.
Local time
Today, 10:15
Joined
Jul 25, 2000
Messages
10
I am using the code below to output html from a report, it works fine but when I close my applicaion and exit from Access it appears that a version of access is still running. It appears on the start bar but cannot be closed only by using the end task from AltCtrlDel.

Any suggestions.

DoCmd.OpenReport "AA",acpreview,"select crit"
DoCmd.OutputTo acreport, "AA", acFormatHTML, c:\mydir
DoCmd.Close acReport, "AA"

Thankyou
 
Use this:

DoCmd.OutputTo acreport, "AA", acFormatHTML, c:\mydir,, AutoStart:=False

Or read help-topic on OutputTo

Mic
 

Users who are viewing this thread

Back
Top Bottom