J
Janet Ocasio
I have a print command on my Form titled "Master Form" and
it prints my report titled "Master". I want to print one
page only from my report. I have the following code
entered but it still prints the whole report. What do I
need to change?
Dim stDocName As String
Dim stFilter as String
stDocName = "Master"
stFilter = Customer ID = Forms!Master Form!Customer ID"
DoCmd.OpenReport stDocName, acViewNormal, , strFilter
Any help would be appreciated.
Thanks,
Janet
it prints my report titled "Master". I want to print one
page only from my report. I have the following code
entered but it still prints the whole report. What do I
need to change?
Dim stDocName As String
Dim stFilter as String
stDocName = "Master"
stFilter = Customer ID = Forms!Master Form!Customer ID"
DoCmd.OpenReport stDocName, acViewNormal, , strFilter
Any help would be appreciated.
Thanks,
Janet