E emdiesse Registered User. Local time Today, 09:03 Joined Feb 1, 2006 Messages 36 Feb 18, 2006 #1 How can I open reports in the report viewer using abutton. This prints the form. I want to open it. Code: Private Sub btnOpenSummary_Click() DoCmd.OpenReport ("rptSummary") End Sub Thanks
How can I open reports in the report viewer using abutton. This prints the form. I want to open it. Code: Private Sub btnOpenSummary_Click() DoCmd.OpenReport ("rptSummary") End Sub Thanks
S Sergeant Someone's gotta do it Local time Today, 05:03 Joined Jan 4, 2003 Messages 636 Feb 18, 2006 #2 DoCmd.OpenReport "rptSummary", acViewPreview
E emdiesse Registered User. Local time Today, 09:03 Joined Feb 1, 2006 Messages 36 Feb 18, 2006 #3 Sergeant said: DoCmd.OpenReport "rptSummary", acViewPreview Click to expand... Thank you. How about if I were to use this for my buttons code? I was hoping to open this form within a subform view if possible Private Sub btnrptOrderList_Click() Forms("frmIndex").IndexFrame.SourceObject = "rptOrderList" End Sub
Sergeant said: DoCmd.OpenReport "rptSummary", acViewPreview Click to expand... Thank you. How about if I were to use this for my buttons code? I was hoping to open this form within a subform view if possible Private Sub btnrptOrderList_Click() Forms("frmIndex").IndexFrame.SourceObject = "rptOrderList" End Sub