|
| |
|
|
Avick
Posts: 181 From: Ireland Status: offline
|
ASP Hyperlink - 4/1/2001 18:39:00
I am trying to create a link from an ASP page to an ASP page. The idea is that the database (Access 2000) will display a list of records on the first page and by clicking the name you will get detailed information on the selected item. The reson i am doing it this way is that if i add a new record to the database it will show in the first page and when clicked will take you to the information for that link. I am scripting by hand. what do i put after: response.write Thanks
|
|
|
|
Thomas Brunt
Posts: 6118 Joined: 6/6/1998 From: St. Matthews SC USA Status: offline
|
RE: ASP Hyperlink - 4/2/2001 16:32:00
This question really belongs in the database forum, but I think Spooky's tutorials have your answer. Specifically, this page.http://www.outfront.net/spooky/search_hyper.htm
|
|
|
|
Spooky
Posts: 26617 Joined: 11/11/1998 From: Middle Earth Status: offline
|
RE: ASP Hyperlink - 4/2/2001 23:07:00
After the response.write, it gets real interesting. Youll need to add some createobjects, maybe some variables. Most of all, lots of <%%>Theres quite a lot to add actually. But response.write is a start  Expand on what you have and what you need
|
|
|
|
Avick
Posts: 181 From: Ireland Status: offline
|
RE: ASP Hyperlink - 4/5/2001 18:30:00
I know most of the asp code needed for what i want to do but I'am getting stuck at turning a database result into a link. Such as response.write "<a href='page2.asp?result=<%ors(item)'>" & ors(item) & "</A>"I know this may not be right but this is where I'am stuck. I have my code on either end of this, its just the response.write bit I,am stuck on?
|
|
|
|
Spooky
Posts: 26617 Joined: 11/11/1998 From: Middle Earth Status: offline
|
RE: ASP Hyperlink - 4/5/2001 23:31:00
Ahhh thats better =)response.write "<a href='page2.asp?result="&ors(item)&"'>" & ors(item) & "</A>" You were 1/2 way there!
|
|
|
|
Avick
Posts: 181 From: Ireland Status: offline
|
RE: ASP Hyperlink - 4/6/2001 13:19:00
Thanks Spooky, That worked the way you said it would.------------------
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|