I am not very Access savvy, and I have a user that has a question I am not able to answer. I am hoping that someone else can help me out! He has some new reports for which he would like to find a way to hide a group footer if the there is only one record/detail line. Does anyone have any ideas? I can find out more information if needed. Thanks!
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
-
Hide group footer (Access 2002 SP 2)
Home » Forums » AskWoody support » Productivity software by function » MS Access and database help » Hide group footer (Access 2002 SP 2)
- This topic has 5 replies, 3 voices, and was last updated 19 years, 8 months ago.
AuthorTopicWSGirlFriday
AskWoody LoungerMay 24, 2004 at 2:39 pm #405344Viewing 1 reply threadAuthorReplies-
WSHansV
AskWoody LoungerMay 24, 2004 at 3:08 pm #832020Let him put a text box in the group footer, named txtCount, with control source =Count(*), and Visible set to No.
Next, let him create an On Format event procedure for the group footer section. It would look like this:Private Sub GroupFooter1_Format(Cancel As Integer, FormatCount As Integer)
Me.GroupFooter1.Visible = (Me.txtCount > 1)
End SubGroupFooter1 must be replaced by the name of the group footer that should be hidden.
-
WSjaf90
AskWoody LoungerSeptember 28, 2005 at 10:54 am #975834Hans
Came across this message while trying to resolve a problem I have.The data for my report is CodeType, InvoiceNo, InvoiceDate and Quantity
I have a report in which I don’t show anything in the Detail section (if I did show data it would be the invoicedate and quantity), an InvoiceNo footer with sub totals and then a CodeType footer with subtotals.
I want to only show the CodeType footer if there is more than one line in the InvoiceNo footer.
I tried simply placing the =count(*) in the InvoiceNo footer, but unsuccessful.
Any thoughts on what I need to do to achieve this
John
-
WSHansV
AskWoody LoungerSeptember 28, 2005 at 11:13 am #975838Put a text box named txtCount in the InvoiceNo footer.
Set its Control Source property to =1
Set its Running Sum property to Over Groups
Set its Visible property to No.Put the following code in the On Format event of the group footer for CodeType:
Private Sub GroupFooter1_Format(Cancel As Integer, FormatCount As Integer)
Me.GroupFooter1.Visible = (Me.txtCount > 1)
End SubReplace GroupFooter1 with the correct name of the CodeType footer.
-
WSjaf90
AskWoody Lounger
-
-
-
WSHansV
AskWoody LoungerMay 24, 2004 at 3:08 pm #832021Let him put a text box in the group footer, named txtCount, with control source =Count(*), and Visible set to No.
Next, let him create an On Format event procedure for the group footer section. It would look like this:Private Sub GroupFooter1_Format(Cancel As Integer, FormatCount As Integer)
Me.GroupFooter1.Visible = (Me.txtCount > 1)
End SubGroupFooter1 must be replaced by the name of the group footer that should be hidden.
Viewing 1 reply thread -

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
Perplexity Pro free for 12 mos for Samsung Galaxy phones
by
Patricia Grace
8 hours, 39 minutes ago -
June KB5060842 update broke DHCP server service
by
Alex5723
7 hours, 11 minutes ago -
AMD Ryzen™ Chipset Driver Release Notes 7.06.02.123
by
Alex5723
11 hours, 13 minutes ago -
Excessive security alerts
by
WSSebastian42
6 hours, 54 minutes ago -
* CrystalDiskMark may shorten SSD/USB Memory life
by
Alex5723
20 hours, 42 minutes ago -
Ben’s excellent adventure with Linux
by
Ben Myers
35 minutes ago -
Seconds are back in Windows 10!
by
Susan Bradley
7 hours, 50 minutes ago -
WebBrowserPassView — Take inventory of your stored passwords
by
Deanna McElveen
17 hours, 45 minutes ago -
OS news from WWDC 2025
by
Will Fastie
21 hours, 56 minutes ago -
Need help with graphics…
by
WSBatBytes
5 hours, 12 minutes ago -
AMD : Out of Bounds (OOB) read vulnerability in TPM 2.0 CVE-2025-2884
by
Alex5723
1 day, 12 hours ago -
Totally remove or disable BitLocker
by
CWBillow
11 hours, 17 minutes ago -
Windows 10 gets 6 years of ESU?
by
n0ads
14 hours, 32 minutes ago -
Apple, Google stores still offer China-based VPNs, report says
by
Nibbled To Death By Ducks
1 day, 22 hours ago -
Search Forums only bring up my posts?
by
Deo
2 hours, 40 minutes ago -
Windows Spotlight broken on Enterprise and Pro for Workstations?
by
steeviebops
2 days, 10 hours ago -
Denmark wants to dump Microsoft for Linux + LibreOffice
by
Alex5723
2 days, 3 hours ago -
How to get Microsoft Defender to honor Group Policy Setting
by
Ralph
2 days, 11 hours ago -
Apple : Paragon’s iOS Mercenary Spyware Finds Journalists Target
by
Alex5723
2 days, 21 hours ago -
Music : The Rose Room – It’s Been A Long, Long Time album
by
Alex5723
2 days, 22 hours ago -
Disengage Bitlocker
by
CWBillow
2 days, 12 hours ago -
Mac Mini M2 Service Program for No Power Issue
by
Alex5723
3 days ago -
New Win 11 Pro Geekom Setup questions
by
Deo
2 hours, 34 minutes ago -
Windows 11 Insider Preview build 26200.5651 released to DEV
by
joep517
3 days, 7 hours ago -
Windows 11 Insider Preview build 26120.4441 (24H2) released to BETA
by
joep517
3 days, 7 hours ago -
iOS 26,, MacOS 26 : Create your own AI chatbot
by
Alex5723
3 days, 11 hours ago -
New PC transfer program recommendations?
by
DaveBoston
1 day, 16 hours ago -
Windows 11 Insider Preview Build 22631.5545 (23H2) released to Release Preview
by
joep517
3 days, 15 hours ago -
Windows 10 Build 19045.6029 (22H2) to Release Preview Channel
by
joep517
3 days, 15 hours ago -
Best tools for upgrading a Windows 10 to an 11
by
Susan Bradley
3 days, 4 hours ago
Recent blog posts
- Ben’s excellent adventure with Linux
- Seconds are back in Windows 10!
- WebBrowserPassView — Take inventory of your stored passwords
- OS news from WWDC 2025
- Best tools for upgrading a Windows 10 to an 11
- Master patch listing for June 10, 2025
- 24H2 may not be offered June updates
- June 2025 updates are out
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.