Print but No Preview

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
 
D

Duane Hookom

What happens if you don't close the form? You might want to simply set its
visible property to 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