|
|
Sergey Kornilov admin 8/28/2004 |
|
Johnnie, <% Response.Write "<a href=""" & rs.Fields("Folder Name") & """>" & rs.Fields("Folder Name") & "</a>" %>
|
|
|
A
|
apscnjohnnie author 8/28/2004 |
|
Great that got me the hyperlink I wanted but of course to the current directory of the asp directory of that web directory. So say now I want to specify that all calls to href records in that column should be preceeded by a path of http:\\ servername.domainname\sharename or \\servername\sharename. How would I do that. Do I insert that path instead of teh """ section. |
|
|
|
Sergey Kornilov admin 8/30/2004 |
|
Hi, <% Response.Write "<a href=""\\servername\sharename\" & rs.Fields("Folder Name") & """>" & rs.Fields("Folder Name") & "</a>" %> |
|
|
A
|
apscnjohnnie author 8/30/2004 |
|
That worked great, sorry for my ignorance in all this, but I have one more question. What would be the syntax if I wanted to open it up in a new page so that my database page stays up and the user doesn't have to hit the back button to return to the database. I know you can right click on the link and say open in new window but I would rather have it open in a new window automatically. |
|
|
|
Sergey Kornilov admin 8/31/2004 |
|
Hi, <% Response.Write "<a target=_blank href=""\\servername\sharename\" & rs.Fields("Folder Name") & """>" & rs.Fields("Folder Name") & "</a>" %> |
|