ASP Hyperlinks OUTSIDE Results region? (Full Version)

All Forums >> [Web Development] >> ASP and Database



Message


Botcollector -> ASP Hyperlinks OUTSIDE Results region? (3/16/2001 20:26:00)

I have a results page on which I show ALL records returned (because there aren't ever going to be too many). However, I have hyperlinks on the page to other pages that use that page's ID value to get other results. What I WANT to do is not have these hyperlinks repeated for every record returned on the page. However, if I have them outside the Results region, I just get all these MS errors , I assume due to the fact that the ASP code is incorporated into the hyperlinks themselves.

Any way to use the ID on a page to call another ASP page, but have the hyperlinks outside the Results region? Or have them INSIDE it, but not repeated for every record on the page?

Thanks for reading.

The 'Bot Collector





Elecia -> RE: ASP Hyperlinks OUTSIDE Results region? (3/16/2001 23:21:00)

Can you post the string where you are trying to create the hyperlinks?
EE




Botcollector -> RE: ASP Hyperlinks OUTSIDE Results region? (3/16/2001 23:49:00)

Do you mean the Hyperlink text? It is as follows, for one example:

Review.asp?ID=<%=FP_FieldLink(fp_rs,"ID")%>

So, depending on what "ID" as a field equals on this page that shows all records, the new page (review.asp) will open with THAT ID showing as the record.

If you need other info, feel free to ask. I can publish this, too, if I'm not explaining things right, and post a link.

The 'Bot Collector





Elecia -> RE: ASP Hyperlinks OUTSIDE Results region? (3/16/2001 13:09:00)

Why don't you do that.
EE




Spooky -> RE: ASP Hyperlinks OUTSIDE Results region? (3/16/2001 14:45:00)

You must remember that the database record is coming from a loop.

show record
>
Loop
>
Show next record
>
loop

Once a loop is completed, you have lost the ID for that record.
If you want to keep it, you can add it to an array and re display it later.
Im unsure why you wouldnt want it next to or relating to the record?





Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.078125