Printing an access report in a passworded DB
Posted on 2004-11-08
Using VB, I'm trying to print a report on an Access database that is passworded. Im
using DAO. I can open the database, update etc.
Just when i try to print it creates a popup and asks for the database
password. I would like for the code to provide the password for automation...
This is the code im using.
Private Sub cmdPrint_Click()
PrintAccessReport App.Path & "\Database.mdb", "Results", False End Sub
Thanks in advance.