We help IT Professionals succeed at work.

Access query coloum string convert to hyperlink

david_88
david_88 asked
on
Medium Priority
830 Views
Last Modified: 2013-11-27
I have a query that has a
string coloumn which i want to convert into a hyperlink through query

Any help appreciated

Thanks
dave
Comment
Watch Question

Infotrakker Software
CERTIFIED EXPERT
Most Valuable Expert 2012
Top Expert 2014
Commented:
I'm not clear what your goal is. Do you want to view the query (i.e. in Datasheet view) and have this show up as a hyperlink? If so, you can't do that.

You can convert the underlying column to a Hyperlink column, if that would work.

If you want to use this query to drive a Form, then just set whatever control you bind that column to as a Hyperlink.

So: Ultimately, what do you want to do with this hyperlink?

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
CERTIFIED EXPERT
Commented:
I doubt if this is possible as there is too much conversion involved in getting to a hyperlink.
Why do you need to do it, anyway?

Access does not need paths to be set up as hyperlinks in order to use them as hyperlinks.

For example if the field contains : c:\myfolder\xyz/jpg then when this is displayed in a form in a textbox called txtLink, you can use the textbox's click event procedure to do:

Application.Followhyperlink me.txtlink
Commented:
To 'see' the composition of a hyperlink field go to the VBA Editor (Alt+F11) and type - hyperlinkpart - and have a good read.

Commented:
type - hyperlinkpart - in Help and have a good read.
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.