Solved

Requery not working

Posted on 2011-03-04
3
347 Views
Last Modified: 2012-05-11
See attached form AAForm.

Click the red button to requery.
It crashes !  WHAT's Wrong with my code??
How do I requery (and refresh) forms AAA and AAB (which are in the form AAForm)??
Database3.zip
0
Comment
Question by:Patrick O'Dea
  • 2
3 Comments
 
LVL 75
ID: 35040789
Try the attached

mx
Database3-mx01.zip
0
 
LVL 75

Accepted Solution

by:
DatabaseMX (Joe Anderson - Access MVP) earned 500 total points
ID: 35040795
Basically change

Form!AAA.Form.Requery

to
Me.AAA.Form.Requery

same for the other line.

mx
0
 

Author Closing Comment

by:Patrick O'Dea
ID: 35040839
Thanks DatabaseMX

That works well.
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I originally created this report in Crystal Reports 2008 where there is an option to underlay sections. I initially came across the problem in Access Reports where I was unable to run my border lines down through the entire page as I was using the P…
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now