OpenCurrentDatabase

S

Steve

Got a problem. I have a .mdb that is used all day for
significant data entry. Every 4 minutes a report is
exported as an HTML doc to the server for the employees
to view. However, each time the report is exported, the
windows print dialog comes up and ceases data entry until
the print job is done. I am unable to suppress the
dialog and this ceases data entry.

My answer was to open a linked database to the data using
appAccess.OpenCurrentDatabase. This opens the database
in the Processes of Windows, but not as an app which is
perfect. It supresses the dialog box each time the
report is exported, so it is working perfectly.

Question: Anyone see anything wrong with this or anyone
have any ideas how to suppress the dialog. I know I am
eating up some memory, but it seems to be working like a
champ.

Thanks,
 
C

Chris Nebinger

Is there a reason that you are exporting a HTML doc as
opposed to using .asp pages?

Also, how are you printing to HTML? What command?

Chris Nebinger
 
S

Steve

This is just an internal HTML doc so that employees can
track data. Nothing going in or out of the HTML doc,
just for viewing.

To print, I am using:

DoCmd.OutputTo acReport, "qry1050Txt1", "HTML*.html)",
"C:\00SSBE\1050.html", False, ""
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top