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!
![]() |
There are isolated problems with current patches, but they are well-known and documented on this site. |
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
-
Microsoft : Ending USB-C® Port Confusion
by
Alex5723
2 hours, 4 minutes ago -
KB5061768 update for Intel vPro processor
by
drmark
17 minutes ago -
Outlook 365 classic has exhausted all shared resources
by
drmark
15 minutes ago -
My Simple Word 2010 Macro Is Not Working
by
mbennett555
17 hours, 15 minutes ago -
Office gets current release
by
Susan Bradley
27 minutes ago -
FBI: Still Using One of These Old Routers? It’s Vulnerable to Hackers
by
Alex5723
1 day, 14 hours ago -
Windows AI Local Only no NPU required!
by
RetiredGeek
23 hours, 2 minutes ago -
Stop the OneDrive defaults
by
CWBillow
1 day, 15 hours ago -
Windows 11 Insider Preview build 27868 released to Canary
by
joep517
2 days, 1 hour ago -
X Suspends Encrypted DMs
by
Alex5723
2 days, 3 hours ago -
WSJ : My Robot and Me AI generated movie
by
Alex5723
2 days, 3 hours ago -
Botnet hacks 9,000+ ASUS routers to add persistent SSH backdoor
by
Alex5723
2 days, 4 hours ago -
OpenAI model sabotages shutdown code
by
Cybertooth
2 days, 4 hours ago -
Backup and access old e-mails after company e-mail address is terminated
by
M W Leijendekker
1 day, 17 hours ago -
Enabling Secureboot
by
ITguy
2 days ago -
Windows hosting exposes additional bugs
by
Susan Bradley
2 days, 12 hours ago -
No more rounded corners??
by
CWBillow
2 days, 8 hours ago -
Android 15 and IPV6
by
Win7and10
1 day, 22 hours ago -
KB5058405 might fail to install with recovery error 0xc0000098 in ACPI.sys
by
Susan Bradley
3 days, 1 hour ago -
T-Mobile’s T-Life App has a “Screen Recording Tool” Turned on
by
Alex5723
3 days, 3 hours ago -
Windows 11 Insider Preview Build 26100.4202 (24H2) released to Release Preview
by
joep517
2 days, 22 hours ago -
Windows Update orchestration platform to update all software
by
Alex5723
3 days, 11 hours ago -
May preview updates
by
Susan Bradley
2 days, 22 hours ago -
Microsoft releases KB5061977 Windows 11 24H2, Server 2025 emergency out of band
by
Alex5723
2 days, 14 hours ago -
Just got this pop-up page while browsing
by
Alex5723
3 days, 3 hours ago -
KB5058379 / KB 5061768 Failures
by
crown
3 days ago -
Windows 10 23H2 Good to Update to ?
by
jkitc
2 days, 2 hours ago -
At last – installation of 24H2
by
Botswana12
4 days, 2 hours ago -
MS-DEFCON 4: As good as it gets
by
Susan Bradley
42 minutes ago -
RyTuneX optimize Windows 10/11 tool
by
Alex5723
4 days, 15 hours ago
Recent blog posts
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.