If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Suppressing undesired lines
I am developing a report for my supervisor -- he doesn't want to see
individual detail lines under $1,000, but want them included in the grand total. How do I suppress lines under 1,000 |
#2
|
|||
|
|||
Suppressing undesired lines
Use some VBA code to hide/show the section as appropriate.
Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer) If Me.Amount 1000 Then Me.Section(acDetail).Visible = True Else Me.Section(acDetail).Visible = False ENd if End Sub John Spencer Access MVP 2002-2005, 2007-2010 The Hilltop Institute University of Maryland Baltimore County Richard wrote: I am developing a report for my supervisor -- he doesn't want to see individual detail lines under $1,000, but want them included in the grand total. How do I suppress lines under 1,000 |
Thread Tools | |
Display Modes | |
|
|