hyperlinking from access field
I have an ASP query which calls up fields from an Access database. One of the fields contains the website address associated with the record, all beginning with www. This comes up fine on an ASP page, complete with hyperlink, but the address links to a location on the server, rather than out into the web. Is there something wrong with the bit of code below? Can I force it to ignore the full server file name?
many thanks
Maggie
For each fldF in objrs.Fields
If len(fldF.value) > 0 then
If inStr(fldF.Value, "www.") > 0 then
response.write "<td><a href=" & fldF.value & ">" & fldF.value & "</a></td>"
Else
response.write "<td>" & fldF.value & "</td>"
End if
Else
response.write "<td> </td>"
End if
next
|