Solved

How do I "Refresh" a query?

Posted on 2008-06-18
2
629 Views
Last Modified: 2013-11-28
I have a form that uses two combo boxes to seelct criteria for a query.  Then in a subform I use the query in a combo box to make a third selection.  However, whenever I make my first two selections and then move to the subform, nothing is displayed.  If I then switch to design mode, and then back to view mode, the valid selections are available.  How do I "Force" the query to run the first time I enter the subform?
0
Comment
Question by:StuBabyAight
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 8

Accepted Solution

by:
Emil_Gray earned 50 total points
ID: 21818370
In the On Enter event for the subform use:

Me.Requery
0
 

Author Comment

by:StuBabyAight
ID: 21818439
Cheers
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
Microsoft Access is a place to store data within tables and represent this stored data using multiple database objects such as in form of macros, forms, reports, etc. After a MS Access database is created there is need to improve the performance and…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

707 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