Hi
Apologies if this has been covered before, but a quick search didn’t bring up any solutions….
I have a customer table with name/address etc, together with a url field. Currently this is set to a datatype of Hyperlink. I then have a customer form that displays the underlying records, and would like to be able to click on the displayed hyperlink, and be taken to the website.
Currently, the url appears on the form but in the majority of cases clicking the link doesn't do anything. I've discovered the problem is apparent when I right-click the field and choose Hyperlink > Edit Hyperlink. In most cases the "Text to display:" is www.abc.com but the "Address:" is blank.
If I manually overtype the text in the url field as "www.abc.com", it then works (and unsuprisingly shows up in the "Address:" box when I edit the Hyperlink)!
Many of the url fields have been imported from text spreadsheets, but I was under the impression that the Access datatype of 'Hyperlink' would force the contents of the field to work as http://"FIELDCONTENTS" when clicked. Is there some VBA/query I could run to fix all the records so that they contain a hyperlink with both 'text to display' *and* the 'address'?
Could anyone shed any light on this issue? Any comments much appreciated...
Cheers
Apologies if this has been covered before, but a quick search didn’t bring up any solutions….
I have a customer table with name/address etc, together with a url field. Currently this is set to a datatype of Hyperlink. I then have a customer form that displays the underlying records, and would like to be able to click on the displayed hyperlink, and be taken to the website.
Currently, the url appears on the form but in the majority of cases clicking the link doesn't do anything. I've discovered the problem is apparent when I right-click the field and choose Hyperlink > Edit Hyperlink. In most cases the "Text to display:" is www.abc.com but the "Address:" is blank.
If I manually overtype the text in the url field as "www.abc.com", it then works (and unsuprisingly shows up in the "Address:" box when I edit the Hyperlink)!
Many of the url fields have been imported from text spreadsheets, but I was under the impression that the Access datatype of 'Hyperlink' would force the contents of the field to work as http://"FIELDCONTENTS" when clicked. Is there some VBA/query I could run to fix all the records so that they contain a hyperlink with both 'text to display' *and* the 'address'?
Could anyone shed any light on this issue? Any comments much appreciated...
Cheers