Results 1 to 3 of 3
  1. #1
    mp3909 is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    Feb 2018
    Posts
    154

    Refresh a Query

    I have a Query in Access called "Query1".



    Here it is:

    Click image for larger version. 

Name:	Capture.PNG 
Views:	9 
Size:	66.6 KB 
ID:	37716

    As you can see, the 2nd field is an expression: [FieldName] + "_" + SystemDate()

    This whole query needs refreshing each time when a user selects a diffferent date in my form.
    How do I programmatically refresh this query?

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,549
    when you open the query, it is refreshed.
    change the date on form, open query.
    or
    with query open, click the REFRESH ALL button on the toolbar

  3. #3
    mp3909 is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    Feb 2018
    Posts
    154
    I tried changing the date on the form, opened the query and it still had old data in it.
    However, clicking the refresh button did the trick, but it requires manual intervention.

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

Similar Threads

  1. Automate Query Refresh
    By AJ_25 in forum Access
    Replies: 3
    Last Post: 04-30-2018, 08:57 AM
  2. Replies: 1
    Last Post: 09-10-2015, 04:19 AM
  3. Access 2010 Refresh VS Refresh ALL
    By Snwboarder1982 in forum Access
    Replies: 1
    Last Post: 09-09-2011, 04:07 PM
  4. Refresh Query using Value on Form?
    By AKQTS in forum Programming
    Replies: 3
    Last Post: 10-25-2010, 09:33 AM
  5. Update/ Refresh Query
    By Vikki in forum Queries
    Replies: 0
    Last Post: 03-23-2010, 06:59 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