Microsoft Access 2013 - Event to automatically update another field

Posted on 2014-08-30
Last Modified: 2014-08-30
I have a field on a form which once updated will cause a Listbox to requery and display new results.

However, it is a date field, and once they have chosen the date in the date picker in needs to automatically update the listbox, without doing anything else. As far as I can tell, on events can cause this without the user clicking elsewhere on the form. So, immediately upon clicking on a day in the date picker, the listbox needs to requery.

Is there a way to do this?
Question by:rick_danger
    LVL 47

    Accepted Solution

    you might try the textbox change event,  but in the change event, you have to refer to the .text property of the control, because the .value property of the control has not changed.

    sent from my IPad

    Author Comment

    This still requires me to click the mouse on another field before it updates the listbox though.

    Author Closing Comment

    I actually got it working from the OnDirty event, however your tip about the .text property of the control was useful, so will award you the points

    Featured Post

    Maximize Your Threat Intelligence Reporting

    Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

    Join & Write a Comment

    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…
    Experts-Exchange is a great place to come for help with solutions for your database issues, and many problems are resolved within minutes of being posted.  Others take a little more time and effort and often providing a sample database is very helpf…
    Familiarize people with the process of utilizing SQL Server views from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Access…
    In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…

    731 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

    15 Experts available now in Live!

    Get 1:1 Help Now