Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2009
    Posts
    21

    Cool Unanswered: Hyperlink Open on listbox click

    I am searching for a way to be able to click on any hyperlink within a listbox and then have that link to open instead of having to click on a hyperlink field. Thanks.

  2. #2
    Join Date
    May 2005
    Posts
    1,191
    I don't think it's possible to have a hyperlink in a listbox (at least, not to the best of my knowledge). I'd suggest a continuous view subform, and then having one of the fields be a hyperlink. HTH!
    Me.Geek = True

  3. #3
    Join Date
    Sep 2006
    Posts
    265
    You can do this but by constructing the hyperlink on the fly.

    Your Listbox is the actual Page or Form

    A little script prescribes the site you need to specify:

    Code:
    Private Function GetWebPath() As String
        GetWebPath = "http://[Web Site]"
    End Function
    Then construct the link here is an example:


    Code:
    Function Web_Prints()
        With CodeContextObject
            Dim WebLink As String
            WebLink = GetWebPath & "Prints.aspx?Artist=" & .[Gallery Artist] & "&GC=1" & ""
            Application.FollowHyperlink WebLink, , True
            HideWebToolBar
        End With
    End Function
    Simon

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •