Results 1 to 2 of 2
  1. #1
    sparky23 is offline Novice
    Windows 10 Access 2016
    Join Date
    Feb 2019
    Posts
    9

    refresh form's record source to update picture


    Hi,

    I have an issue to manage my situation. Shortly:

    a form contain only image frame, and is opened by another form to show a picture.
    Form's record source is a query, and picture's control source is one filed in this query.
    It works perfectly when I set criteria in main form and open one with the image, but the problem is now, when
    I change criteria in main form, i would like to refresh the picture form instead to close it and open it again.
    I have problem now to refresh form's and picture's record source.

    Can someone help me.

    Thank you

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Are you saying both forms have same data source - same table?

    The picture form can have a RecordSource that references control on other form as parameter. Then code runs Refresh command on picture form.
    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.

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

Similar Threads

  1. Form Update or refresh from select Query
    By deejay21 in forum Forms
    Replies: 2
    Last Post: 01-19-2018, 10:42 AM
  2. Update Pivot Table Record Source via VBA
    By GeekInOhio in forum Access
    Replies: 0
    Last Post: 09-06-2012, 02:26 PM
  3. ADO Update fails after Form Refresh
    By EddieN1 in forum Programming
    Replies: 4
    Last Post: 12-19-2011, 08:07 PM
  4. Update form record source & accde file
    By snoopy2003 in forum Programming
    Replies: 10
    Last Post: 05-14-2011, 01:10 PM
  5. update/refresh form
    By SlowPoke in forum Access
    Replies: 3
    Last Post: 09-20-2010, 09:21 AM

Tags for this Thread

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