my Hyperlink hell!!!
hi guys
I'm having problems with a hyperlink.
Basically, I have a msg box that opens - when the name of a PDF is entered, my code adds the full UNC path to the name of the pdf and saves it as a hyperlink.
In theory, it works perfectly. When you enter "test.pdf", it saves it as a hyperlink with the name "\\ABCDEF\A\b\test.pdf"
BUT the problem is that the way my code works is it sets a variable, then stores the PDF location, then changes the textbox (with the hyperlink field as its control source) to reflect the variable.
For some reason, it stores the link in the backend table as a hyperlink, but it only stores it as the text for the hyperlink - when i click "edit hyperlink", there's no location there
(ie it saves it as a hyperlink, but doesn't actually save it as the link, just as text)
Does this make sense, and can anyone help?
thanks
Dave
hi guys
I'm having problems with a hyperlink.
Basically, I have a msg box that opens - when the name of a PDF is entered, my code adds the full UNC path to the name of the pdf and saves it as a hyperlink.
In theory, it works perfectly. When you enter "test.pdf", it saves it as a hyperlink with the name "\\ABCDEF\A\b\test.pdf"
BUT the problem is that the way my code works is it sets a variable, then stores the PDF location, then changes the textbox (with the hyperlink field as its control source) to reflect the variable.
For some reason, it stores the link in the backend table as a hyperlink, but it only stores it as the text for the hyperlink - when i click "edit hyperlink", there's no location there
(ie it saves it as a hyperlink, but doesn't actually save it as the link, just as text)
Does this make sense, and can anyone help?
thanks
Dave