B
Bonnie A
Hello everyone! Using A02 on XP.
I have 4 reports that contain a series of screenprints providing examples of
how to complete certain forms. I want to open all 4 in preview with one
button click. I have this on my button:
Dim stDocName As String
stDocName = "rBlankFormViewPage1"
DoCmd.OpenReport stDocName, acPreview
stDocName = "rBlankFormViewPage2"
DoCmd.OpenReport stDocName, acPreview
stDocName = "rBlankFormViewPage3"
DoCmd.OpenReport stDocName, acPreview
stDocName = "rBlankFormViewPage4"
DoCmd.OpenReport stDocName, acPreview
When I click the button, the first 3 open but then I get a message saying
"You canceled the previous operation". No, I did not! I click OK and 1, 2
and 3 are open in preview. 4 is not. I've inserted little message boxes
between each so I have to click OK but still get the message.
I'll use 2 buttons to open 2 each for now but hope to find out what I'm
doing wrong. Thanks in advance for any help or advice!
Luv U Guys!
I have 4 reports that contain a series of screenprints providing examples of
how to complete certain forms. I want to open all 4 in preview with one
button click. I have this on my button:
Dim stDocName As String
stDocName = "rBlankFormViewPage1"
DoCmd.OpenReport stDocName, acPreview
stDocName = "rBlankFormViewPage2"
DoCmd.OpenReport stDocName, acPreview
stDocName = "rBlankFormViewPage3"
DoCmd.OpenReport stDocName, acPreview
stDocName = "rBlankFormViewPage4"
DoCmd.OpenReport stDocName, acPreview
When I click the button, the first 3 open but then I get a message saying
"You canceled the previous operation". No, I did not! I click OK and 1, 2
and 3 are open in preview. 4 is not. I've inserted little message boxes
between each so I have to click OK but still get the message.
I'll use 2 buttons to open 2 each for now but hope to find out what I'm
doing wrong. Thanks in advance for any help or advice!
Luv U Guys!