Have a form that is used to access reports that are located in several databases. Below is the code for one control on the form - it is set to print. I want to have it go to print preview instead. Well according to my research all I need to do is change acViewNormal to acViewPreview which I have tried but it doesn't come up at all. Does anyone have any suggestions? Thanks.
Private Sub Command0_Click()
Dim appAccess As New Access.Application
appAccess.OpenCurrentDatabase "\\Nts02\Vax Files\Donor Master & History.mdb"
appAccess.DoCmd.OpenReport "Donor Inquiry by BBCS #", acViewNormal
appAccess.CloseCurrentDatabase
appAccess.Quit
Set appAccess = Nothing
End Sub
Private Sub Command0_Click()
Dim appAccess As New Access.Application
appAccess.OpenCurrentDatabase "\\Nts02\Vax Files\Donor Master & History.mdb"
appAccess.DoCmd.OpenReport "Donor Inquiry by BBCS #", acViewNormal
appAccess.CloseCurrentDatabase
appAccess.Quit
Set appAccess = Nothing
End Sub