DoCmd.PrintOut Works for MDB but not MDE

J

Jason Gyetko

Does anyone know why DoCmd.PrintOut works for and MDB database, but not an
MDE database. Is there a different function I can use, or a work-around?
Thanks.

Dim stDocName As String
Dim MyForm As Form

stDocName = "frmCategoryCountsSUB"
Set MyForm = Screen.ActiveForm
DoCmd.SelectObject acForm, stDocName, True
DoCmd.PrintOut
DoCmd.SelectObject acForm, MyForm.Name, 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