L
Lori2836 via AccessMonster.com
I have a command button on my main form, to print one page of the
corresponding report. It works fine, other than the fact that instead of
only printing the page once, it prints it about 25 times. Please see the
code below for the Print command button. Can you tell me what is wrong,
that its printing the same page so many times, instead of just once?
Private Sub cmdPrint_Click()
Dim strDocName As String
Dim strWhere As String
strDocName = "rptFace Sheet to be reviewed"
strWhere = "[ID] = " & Me.[ID]
DoCmd.OpenReport strDocName, acViewNormal, , strWhere
End Sub
Thanks for any help!
Lori
corresponding report. It works fine, other than the fact that instead of
only printing the page once, it prints it about 25 times. Please see the
code below for the Print command button. Can you tell me what is wrong,
that its printing the same page so many times, instead of just once?
Private Sub cmdPrint_Click()
Dim strDocName As String
Dim strWhere As String
strDocName = "rptFace Sheet to be reviewed"
strWhere = "[ID] = " & Me.[ID]
DoCmd.OpenReport strDocName, acViewNormal, , strWhere
End Sub
Thanks for any help!
Lori