Results 1 to 3 of 3
  1. #1
    accessmatt is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Aug 2011
    Posts
    199

    need VBA to refresh a query after combobox select


    Hello, can anyone provide VBA which will let me refresh a query after Combobox select?

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,896
    Is it a dynamic parameterized query? Where is the query? Is it the RecordSource of the form the combobox is on?

    Maybe in combobox AfterUpdate event:

    Me.Requery
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    accessmatt is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Aug 2011
    Posts
    199
    Bingo June7, me.requery worked! Yes, it's is a dynamic parameterized query. No the record source is a table.

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

Similar Threads

  1. Not able to select from combobox
    By Triel in forum Forms
    Replies: 19
    Last Post: 09-26-2014, 03:51 PM
  2. Replies: 4
    Last Post: 07-19-2014, 12:39 PM
  3. Replies: 8
    Last Post: 03-28-2014, 12:04 AM
  4. Refresh / Requry Subform Upon Combobox Change
    By michael.legge@rbc.com in forum Access
    Replies: 3
    Last Post: 06-18-2013, 06:28 AM
  5. Replies: 8
    Last Post: 02-28-2012, 09:05 PM

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