3

I have a fairly simple MS Access Database that contains some metadata about a bunch of documents and a hyperlink field that links to the document on our network drive.

However, when I use a SQL INSERT statement to populate the hyperlink field, the value I give it only becomes the display text, not the actual link.

How can I make the value a functional hyperlink? I'd think that the hyperlink data type would actually create hyperlinks.

I'm using Access 2002 SP3.

1 Answer 1

5

I do not like hyperlink fields they are inconvenient and difficult to edit. It is much easier to use a text or memo field and use followhyperlink in the code for your form. That being said, the format for a hyperlink is:

DisplayPart#hyperlinkpart#

So

StackOverflow#http://stackoverflow.com#
Sign up to request clarification or add additional context in comments.

1 Comment

I need the link to be functional in datasheet view. Otherwise I would just put it in the VBA click event. The hyperlink formating you listed is correct though.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.