Results 1 to 5 of 5
  1. #1
    Historypaul is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Nov 2012
    Posts
    64

    WebBrowser control requery

    I have a form with a webbrowser control in it. The webbrowser control source is as follows:
    =[CurrentProject].[Path] & "\OpeningsFileCabinet\Personnel\HRActionsAttachmen ts\" & [ID] & ".pdf"



    The file referred to is created after the form opens, so I'm using Me.BrowserControlName.Requery , but it doesn't open up the document. Am I missing something?

  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,822
    Maybe just refresh the form.

    Me.Refresh
    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
    Historypaul is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Nov 2012
    Posts
    64
    Tried that...

  4. #4
    Historypaul is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Nov 2012
    Posts
    64
    When I close the form, then reopen it, it opens the correct document, so I know the reference to the document is correct. I can even change the visible property on and off, so I know my reference to the control is correct. This is maddening.

  5. #5
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,822
    The only other thing that comes to mind is Me.Recalc.
    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. requery subform in tab Control
    By raffi in forum Forms
    Replies: 2
    Last Post: 10-16-2014, 12:36 PM
  2. Google Maps in webbrowser control
    By bfc in forum Forms
    Replies: 10
    Last Post: 08-27-2014, 10:53 PM
  3. WebBrowser Control to use Chrome?
    By kdbailey in forum Access
    Replies: 2
    Last Post: 07-15-2014, 11:30 AM
  4. sizing a url within a webbrowser control
    By Kirsti in forum Programming
    Replies: 4
    Last Post: 11-06-2012, 06:10 PM
  5. Landscape Orientation-WebBrowser Control
    By mwolfod in forum Forms
    Replies: 0
    Last Post: 04-11-2011, 08:32 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