Greetings Access gurus.
I have a form that has a feild for hperlinks. To make this easier for the user to insert a hyperlink in this field I have a button that allows you to browse for a file using a common dialogue box and module.
This all works fine, but when using the button, the file path returned looks like C:\mydocuments\documentname.doc While this appears to be a hyperlink in the box (underlined and blue), when you click on it, the link does not work.
However, if you use the Insert>Hyperlink from the menu bar, the same file appears as ..\..\My Documents\documentname.doc and it works fine.
Can anyone tell me if there is a way that I can get the common dialogue for the 'Open' button to delive the file path in the correct format for a hyperlink?
Cheers
I have a form that has a feild for hperlinks. To make this easier for the user to insert a hyperlink in this field I have a button that allows you to browse for a file using a common dialogue box and module.
This all works fine, but when using the button, the file path returned looks like C:\mydocuments\documentname.doc While this appears to be a hyperlink in the box (underlined and blue), when you click on it, the link does not work.
However, if you use the Insert>Hyperlink from the menu bar, the same file appears as ..\..\My Documents\documentname.doc and it works fine.
Can anyone tell me if there is a way that I can get the common dialogue for the 'Open' button to delive the file path in the correct format for a hyperlink?
Cheers