Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Back to Access Forum    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Update Dashboard to changes
Jerry Fowler 
       
3 years ago
I have a form (DashboardF) that I'm using to 4 forms in a dashboard-type.  The for forms are StatusCountSubF, DuesOwedByYearSubF, UpcomingEventsSubF,UpcomingFormsSubF. What I would like is after updating info that would pertain to any of these forms I would like to requery the for so when I go back to DashboardF it show the most current info. So I created a subroutine called RequeryForms()

Public Sub RequeryForms()

    DoCmd.OpenForm "StatusCountSubF"
    Forms("StatusCountSubF").Requery
    DoCmd.Close acForm, "StatusCountSubF"
    
    DoCmd.OpenForm "DuesOwedByYearSubF"
    Forms("DuesOwedByYearSubF").Requery
    DoCmd.Close acForm, "DuesOwedByYearSubF"
    
    DoCmd.OpenForm "UpcomingEventsSubF"
    Forms("UpcomingEventsSubF").Requery
    DoCmd.Close acForm, "UpcomingEventsSubF"
    
    DoCmd.OpenForm "UpcomingFormsSubF"
    Forms("UpcomingFormsSubF").Requery
    DoCmd.Close acForm, "UpcomingFormsSubF"
    
    DoCmd.OpenForm "DashboardF"
    Forms("DashboardF").Requery
    
End Sub

then on all the buttons that take me back to any of the dashboard forms I added the line "Call RequeryForms".

But they do not requery, any ideas??? Thanks so much for the help in the past.
Kevin Robertson  @Reply  
          
3 years ago
I don't understand why you are opening the form, requerying it then closing it. What purpose does this serve?
Jerry Fowler OP  @Reply  
       
3 years ago
No purpose at all but when I tried

Forms!UpcomingEvents.Requery

it didn't seem to work so then I went to opening the form, requery then close the form
Jerry Fowler OP  @Reply  
       
3 years ago
Sorry meant  

Form!UpcomingEventsSubF.Requery

and that might be the reason?? Maybe

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Access Forum.
 

Next Unseen

 
New Feature: Comment Live View
 
 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
PCResale.NET
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2026 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 5/6/2026 4:06:12 PM. PLT: 1s