Command Button on Report

R

Ray Hogan

Hi,
Please advise if it is possible to place Command Button on a Report to open
another report.
Thanking you in anticipation.
regards.
Rayh
 
F

fredg

Hi,
Please advise if it is possible to place Command Button on a Report to open
another report.
Thanking you in anticipation.
regards.
Rayh

No.
Reports are passive views of data, and a command button would not do
anything.

What you can do is code the Report's Close event:
If MsgBox("Do you wish to open ReportB?",vbYesNo) = vbYes Then
DoCmd.OpenReport "ReportB", acViewPreview
End If
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top