So I could try this?
DoCmd.OpenReport "myReport", acPreview, , "MyFieldName=YES"
GroupFooter1.Height = 315
Detail_001.Visible = True
Main Topics
Browse All TopicsHow to make a summary repoort show it's detail when chosen from a form via a button? through VB similar to filtering a report such as
DoCmd.OpenReport "myReport", acPreview, , "MyFieldName=YES"
The summary reports are the basis for several (10) sub reports...
Thanks so much!!
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
To be clear i want the default of the report to be hidden. I would like to launch via my current form but show the detail.
Private Sub Command7_Click()
On Error GoTo Err_Command7_Click
Dim stDocName As String
stDocName = "rptOne"
DoCmd.OpenReport stDocName, acPreview, , "ONE=ONE"
Exit_Command7_Click:
Exit Sub
Err_Command7_Click:
MsgBox Err.Description
Resume Exit_Command7_Click
End Sub
When I add
GroupFooter1.Height = 315
Detail_001.Visible = True
I receive object requited
Again, you have to work with the specific objects that are in your report. Place your report in design view and get the actual name of the footer object you are working with. For example, your groupfooter object might be named GroupFooter0, not GroupFooter1.
You should download the demo mdb file that comes with the article, so that you can see how it works.
Business Accounts
Answer for Membership
by: puppydogbuddyPosted on 2009-11-08 at 05:49:35ID: 25770447
see this link for a really neat way. Based on the user's selection, the detail section is either left untouched (visible) or is hidden. The result is a report with group totals only. You now have effectively delivered two reports to your users from a single report definition: one with detail records and one without. .com/featu res/msacce ss/article .php/ 10895 _3104211_2 /Access-Re port-Trick s.htm
boType, False))
http://www.databasejournal
Sample code:
Private Sub Report_Open(Cancel As Integer)
On Error Resume Next
DoCmd.OpenForm "frmOption", , , , , acDialog
blnHideDetail = CBool(Nz(Forms!frmOption.c
If blnHideDetail Then
GroupFooter1.Height = 315
Detail_001.Visible = False
End If
End Sub