| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Code to transfer imported text as link in html
Hi all. I'm currently into this problem i'm dealing with for days now, and i just can seem to figure out
a solution. I've made a data access page in ms-access, stored it as html. It contains fields that are linked to a database. One of the fields shows text, that is to be converted into a relative path. (Example: the field "download" shows as text "chapters/chapter5.pdf".) Now what i'm trying to do is get the field automatically transfer the text into a hyperlink. It's hard to believe this isn't possible, but with my little knowlegde of access and html i've not been able to make it work somehow. If i make the link in the database table itself, it's showed as code in the html layout. Is there anyone who's able to help me out with this please? Somebody already gave me a hint, working with the code: <a href='"& Recordset.Fields("textboxfield") &"'>Download</a> in which [textboxfield] is the contents of the textbox ("Documents/Document1.pdf"). But i don't have a clue where to past that code. Thanks in advance. |
![]() |
| Viewing: ASP Free Forums > Programming > Code Bank > Code to transfer imported text as link in html |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|