Dear Access Expert
when i run the two lines below
DoCmd.SelectObject acReport, stDocName, True
DoCmd.PrintOut acPrintAll, , , , 4
........... the database window (with the tables, queries, etc....) appears.
I don't want this behavior. How do I minimize this window using code?
Can I prevent it from popping up altogether?
Thank you
when i run the two lines below
DoCmd.SelectObject acReport, stDocName, True
DoCmd.PrintOut acPrintAll, , , , 4
........... the database window (with the tables, queries, etc....) appears.
I don't want this behavior. How do I minimize this window using code?
Can I prevent it from popping up altogether?
Thank you