Results 1 to 2 of 2
  1. #1
    ender is offline Novice
    Windows XP Access 2007
    Join Date
    Feb 2012
    Posts
    1

    open hyperlink in form - using VB

    Hi,
    i have table containing hyperlink column refering to pictures on my network drive.
    i want to show the photo in the form (that the form will open the link)


    in MS they say that the only way to do that is with VB, which i don't know,
    can someone help ?
    thank you ina advance

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,945
    Access 2007 changed the Image control to have a ControlSource. VBA is no longer required to display images on a form or report.

    The image path is in a Hyperlink datatype field? Can display the image on form by placing an Image control on the form and setting the ControlSource as:

    =Replace(your image field name,"#","")
    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. Hyperlink to open a form
    By accessnewb in forum Access
    Replies: 12
    Last Post: 07-27-2011, 07:33 PM
  2. Replies: 4
    Last Post: 01-31-2011, 03:19 PM
  3. Open up url page hyperlink not working!
    By riffraff_ashraf in forum Forms
    Replies: 1
    Last Post: 09-29-2010, 09:33 AM
  4. Replies: 2
    Last Post: 02-26-2010, 08:14 AM
  5. Form Variable in Hyperlink
    By russ0670 in forum Forms
    Replies: 5
    Last Post: 01-15-2010, 08:09 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