M
Matt
Because the criteria I want to use to print a single
record from a form is a number, I modified MS' code
example on printing a single record from a form (the
criteria used in the code example is text). My
modification is not producing the results I expected. I'm
getting a multipage report that includes every record.
The modified code I used is below. Any suggestions?
Dim strreportname As String
Dim strcriteria As Integer
strreportname = "rpt_PrintRecord"
strcriteria = [IRNum]
DoCmd.OpenReport strreportname, acViewPreview, ,
strcriteria
Thanks for any help.
Matt
record from a form is a number, I modified MS' code
example on printing a single record from a form (the
criteria used in the code example is text). My
modification is not producing the results I expected. I'm
getting a multipage report that includes every record.
The modified code I used is below. Any suggestions?
Dim strreportname As String
Dim strcriteria As Integer
strreportname = "rpt_PrintRecord"
strcriteria = [IRNum]
DoCmd.OpenReport strreportname, acViewPreview, ,
strcriteria
Thanks for any help.
Matt