navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

Problem page is up, please help

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> ASP and Database >> Problem page is up, please help
Page: [1]
 
Botcollector

 

Posts: 69
From: None
Status: offline

 
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

 

Posts: 26599
Joined: 11/11/1998
From: Middle Earth
Status: offline

 
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!


(in reply to Botcollector)
Botcollector

 

Posts: 69
From: None
Status: offline

 
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


(in reply to Botcollector)
Spooky

 

Posts: 26599
Joined: 11/11/1998
From: Middle Earth
Status: offline

 
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


(in reply to Botcollector)
Botcollector

 

Posts: 69
From: None
Status: offline

 
RE: Problem page is up, please help - 3/27/2001 23:29:00   
Wham bam fandango, Spooky, that did it.

Thanks!

The Bot Collector


(in reply to Botcollector)
Page:   [1]

All Forums >> Web Development >> ASP and Database >> Problem page is up, please help
Page: [1]
Jump to: 1





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