Results 1 to 3 of 3
  1. #1
    rfcomm2k is offline Novice
    Windows 10 Access 2003
    Join Date
    Feb 2016
    Posts
    2

    How to make a query update in real time

    I have 2 tables, a master list and a used list. I also have a query that looks at both tables and provides a list of all items from the master list that do not appear in the used list. This query works fine when I open it, but it does not update when I make changes to the used list. I need to close the query and re-open it so the changes I made will appear.

    How can I keep this query open all the time and still have it update automatically when I add or delete an item to/from the used list?

  2. #2
    CJ_London is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,430
    you don't with queries - it will probably work if the query is a simple view of a single table, but your query requires a comparison.

    You could try clicking on the refresh button on the ribbon (2007+) but no idea if this is available on 2003 (long time since I last used it)

    Access is not really designed to work with the table and query objects as a matter of course - you use forms and reports.

    If your query was on a form, you could use the requery method perhaps on a form timer event or triggered by an update event of some sort.

  3. #3
    Bob Fitz's Avatar
    Bob Fitz is offline Access Developer
    Windows 7 32bit Access 2013
    Join Date
    May 2011
    Location
    Essex UK
    Posts
    3,544
    Quote Originally Posted by rfcomm2k View Post
    I have 2 tables, a master list and a used list. I also have a query that looks at both tables and provides a list of all items from the master list that do not appear in the used list. This query works fine when I open it, but it does not update when I make changes to the used list. I need to close the query and re-open it so the changes I made will appear.

    How can I keep this query open all the time and still have it update automatically when I add or delete an item to/from the used list?
    Why keep a master list and a used list. Couldn't you just keep the master list and add field to it that indicates if it has been "used".
    If this helped, please click the star at the bottom left of this posting and add to my reputation . Many thanks.
    Bob Fitzpatrick

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 7
    Last Post: 07-19-2016, 05:28 PM
  2. Update Form / Query data in real time
    By Pete-RM in forum Forms
    Replies: 6
    Last Post: 08-21-2015, 05:10 AM
  3. Update the Customer No in real time
    By gstylianou in forum Access
    Replies: 6
    Last Post: 06-08-2014, 09:38 AM
  4. How to make the time update while in Form View
    By Md1271 in forum Programming
    Replies: 4
    Last Post: 10-01-2012, 08:06 AM
  5. Update a combo box in real time
    By protean_being in forum Forms
    Replies: 0
    Last Post: 05-17-2008, 07:39 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums