G
Guest
I was given the following Code in order to just print the current record of
my form in Report view.
Private Sub Command186_Click()
Me.Refresh
DoCmd.OpenReport "rpt_Quote", , , "OrderInfoID = " & Me!OrderInfoID
End Sub
It works, but I don't understand what makes it print. What I want to do is
change it to preview rather than print but I still want it to be for the
specific record and I don't know what to change. Please help.
Thanks in Advance,
Travis
my form in Report view.
Private Sub Command186_Click()
Me.Refresh
DoCmd.OpenReport "rpt_Quote", , , "OrderInfoID = " & Me!OrderInfoID
End Sub
It works, but I don't understand what makes it print. What I want to do is
change it to preview rather than print but I still want it to be for the
specific record and I don't know what to change. Please help.
Thanks in Advance,
Travis