Print but No Preview

  • Thread starter Thread starter Bob Vance
  • Start date Start date
B

Bob Vance

If I change acNormal to acViewPreview I dont get a preview but acNormal
prints
Thanks for any Help...........Bob

Private Sub cmdPrintAll_Click()

Dim stDocName As String

Dim savRepName As String, savFileName As String

DoCmd.OpenReport "rptOwnerPaymentMethodBatch", acViewPreview, , , ,
"Statement"

DoCmd.Close acForm, Me.Name
End Sub
 
What happens if you don't close the form? You might want to simply set its
visible property to False.
 
Back
Top