navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
FrontPage Alternative
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

 

Universal results.asp ???

 
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 >> Universal results.asp ???
Page: [1]
 
Marcos Hedges

 

Posts: 14
From: Guaynabo, PR
Status: offline

 
Universal results.asp ??? - 10/2/2001 20:55:00   
Hello -

Is there a way to have one results page which can be accessed by both hyperlinks and search forms?

If so, what would be the DRW settings?

Thanks!
Marcos

Marcos Hedges

 

Posts: 14
From: Guaynabo, PR
Status: offline

 
RE: Universal results.asp ??? - 10/2/2001 13:37:00   
Allow me to rephrase my angst:

Can I have one single results.asp which is accessed by a [menu] link as well as a search form, or more than one link?

Example:
One link is for guitars, and one link is for Gibson guitars. Can both links point to the same results.asp?

I have a very crude working model at the moment. In my particular case, I currently have a search form in one page (brandname)and a link in another (type of instrument). If I type in the brandname on the search form, everything is peaches and cream. However, if I click on the link, I get "no records returned".

Is there a way the form and link can coexist, pointing to the same DRW (having the DRW display several types of results)? Or do I have to create a DRW for every type of query (hope not)?

Thanks!
Marcos


(in reply to Marcos Hedges)
Mojo

 

Posts: 2441
From: Chicago
Status: offline

 
RE: Universal results.asp ??? - 10/2/2001 17:36:00   
You would need to use some scripting. At the top of your page you would grab the value from either the search form or the query string, it does not matter. Then, check for values, if they exist move on, if not check the other (form or querystring).

Something like:

<%
Dim strValue
strValue = Request.Form("field1")
If strValue = "" Then
strValue = Request.Querystring("field1")
End If
%>

You would want to place some error handling in case a user just stumbled upon the page.

Joe

Hmmm, after re-reading your question I am not sure I gave you the answer you were looking for...

[This message has been edited by jbennett (edited 10-02-2001).]


(in reply to Marcos Hedges)
Page:   [1]

All Forums >> Web Development >> ASP and Database >> Universal results.asp ???
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