Problem page is up, please help (Full Version)

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



Message


Botcollector -> Problem page is up, please help (3/27/2001 20:21:00)

I made this a new post because the issue is old enough I thought maybe you guys wouldn't check bact there any more. Or do you get notification of all posts? Sorry about the new subject if that's the case.

A while ago I asked if there was a way to use criteria links on a DRW page without having them inside the DRW region. The reason is I have a page where all the records returned are shown on one page, and I have links that lead to OTHER related pages based on the ID of the current page's records. The ID is the same for every record, so I don't need the links repeated for every record down the page, I just want them at the top. But if I use criteria outside the DRW region, the links result in MS error code.

Here's the page, with a record already returned so you can see the repeated links. I want the "Tech Specs," "Instructions," and "Review" links to be at the top of the page, not in every record (because the ID number used as criteria is the same for every record, see, so it's redundant). Is this possible?

Here's the link:

http://www.botcollector.com/AdditlPics.asp?ID=575

Thanks for any help.

The Bot Collector





Spooky -> RE: Problem page is up, please help (3/27/2001 20:04:00)

So if all the ID's are always the same, use a different format.

I take it you pass the ID always in the URL? if so, do this :

http://www.botcollector.com/TSLookup3.asp?ID=<%=Request.Querystring(

That way, it will use the same ID as passed to the page originally

------------------
Spooky
"I am Spooky of Borg. Prepare to be assimilated, babycakes!"
Subscribe to OutFront News
Database / DRW Q & A
The Spooky Login!





Botcollector -> RE: Problem page is up, please help (3/27/2001 20:17:00)

I'm sorry, Spooky, I don't get that (I'm still quite the ASP newbie). Are you saying that I can put the links outside the DRW region if I use that new hyperlink code? And if so, what's the complete link look like? Would I put the SQL query string in the parenthesis, and then that would complete the link?

The ID's are only the same for every record on that AdditlPics.asp page; they're not the same every time you GO to the page from the previous page (the AdditlPics.asp opens with the ID set from the previou page; it could be anything).

Can you rephrase or expound as if speaking to an idiot?

Thanks again for the help.

The Bot Collector





Spooky -> RE: Problem page is up, please help (3/27/2001 23:12:00)


Sorry the url didnt come out either

TSLookup3.asp?ID=<%=Request.Querystring("ID")%>

You could enter that link the same as you do when you normally make some text hyperlinked.

The part : <%=Request.Querystring("ID")%> will get the ID from the pages URL

eg :
http://www.botcollector.com/AdditlPics.asp?ID=575

So the asp code above will grab "575" from the URL and write it after the hyperlink so that the page name becomes TSLookup3.asp?ID=575





Botcollector -> RE: Problem page is up, please help (3/27/2001 23:29:00)

Wham bam fandango, Spooky, that did it.

Thanks!

The Bot Collector





Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.1091309