Results 1 to 5 of 5
  1. #1
    Pontus is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Jul 2015
    Posts
    5

    Hyperlink category in a listbox

    Hello!



    I have a listbox which displays a couple of categories.

    I import the data to the listbox via the wizard.
    For example:
    Manufacturer: short Text
    Type: short Text
    Link: Hyperlink

    Everything shows up in the listbox, however the Link category items with the hyperlinks are no longer clickable.
    I want them to be clickable or at least copyable. When I'm copying them right now I get the string:

    "#http://www.RandomLink.com/#"

    Thanks in advance!
    Best regards Pontus

  2. #2
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    My preference is to not use the Hyperlink type at the table level. Instead, I use the data type Text at the table level and store the path as literal text. Then, I can use the Hyperlink property in controls or simply include the literal string in code to open stuff.

  3. #3
    Pontus is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Jul 2015
    Posts
    5
    Quote Originally Posted by ItsMe View Post
    My preference is to not use the Hyperlink type at the table level. Instead, I use the data type Text at the table level and store the path as literal text. Then, I can use the Hyperlink property in controls or simply include the literal string in code to open stuff.
    Thanks for the quick answer, but how do I find this property for a list box? If I select the listbox I can't seem to find this property. I have changed the data type to Short Text instead of Hyperlink in the table.

  4. #4
    Pontus is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Jul 2015
    Posts
    5
    I solved it by changing the data type to Short Text and using this code:

    Application.FollowHyperlink Me.List1.Column(0)

  5. #5
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    Sorry I did not get back to you. Glad you were able to work through it and thanks for posting your solution.

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

Similar Threads

  1. Replies: 5
    Last Post: 05-10-2014, 09:24 AM
  2. Replies: 4
    Last Post: 01-05-2013, 11:07 AM
  3. Query for each category
    By snowboarder234 in forum Queries
    Replies: 1
    Last Post: 07-03-2012, 01:52 PM
  4. Category redesign
    By squirrly in forum Database Design
    Replies: 16
    Last Post: 12-13-2011, 06:32 PM
  5. Replies: 4
    Last Post: 01-31-2011, 03:19 PM

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