Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Reports / Printing / December 2005

Tip: Looking for answers? Try searching our database.

Changing Summary Options

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Rhys'''' Pieces - 13 Dec 2005 18:26 GMT
I created a report in Access 2003 using the Report Wizard. In summary options
I chose Detail & Summary. Can I change it to Summary only now that it has
been saved? How? Thank you for the advice.
Duane Hookom - 13 Dec 2005 18:46 GMT
Sure, you can set the detail section to invisible. If you want the users to
"toggle" this, you can add code to your report like:

Option Compare Database
Option Explicit
Dim booHideDetail As Boolean

Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
   Cancel = booHideDetail
End Sub

Private Sub Report_Open(Cancel As Integer)
   If MsgBox("Do you want to display details?", _
       vbQuestion + vbYesNo, "Show Details") = vbYes Then
       booHideDetail = False
    Else
       booHideDetail = True
   End If
End Sub

Signature

Duane Hookom
MS Access MVP

>I created a report in Access 2003 using the Report Wizard. In summary
>options
> I chose Detail & Summary. Can I change it to Summary only now that it has
> been saved? How? Thank you for the advice.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.