If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > searching

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-12-03, 09:32
zarifa_dewey zarifa_dewey is offline
Registered User
 
Join Date: Oct 2003
Posts: 7
searching

i'm am creating a web page that as three search methods. i want to display the results regardless of the method used on one page can any one help me

I'm really stuck.

Thanks in advance
Reply With Quote
  #2 (permalink)  
Old 11-12-03, 15:48
rokslide rokslide is offline
Registered User
 
Join Date: Nov 2003
Location: Christchurch, New Zealand
Posts: 1,617
Providing the resultsets are in a similar format this shouldn't be a problem at all...

Best way IMO is to use XML as your structure for holding your search results then you can use XSL to format the return. Actually if you did it this way it wouldn't matter if the results sets had different columns and the like returned...

Simply put,.....

You have a page that gets the search criteria (say search.asp) and passes it to searchresults.asp.

Search results determines what search criteria has been selected/used, performs the search using that criteria and then formats the results using the appropiate XSL.

Does this help at all? Perhaps if you can give more info on the problems you are having I can help more.
Reply With Quote
  #3 (permalink)  
Old 11-13-03, 13:51
rnealejr rnealejr is offline
Registered User
 
Join Date: Feb 2002
Posts: 2,232
Can you provide an example of what you want ?
Reply With Quote
  #4 (permalink)  
Old 11-17-03, 05:23
zarifa_dewey zarifa_dewey is offline
Registered User
 
Join Date: Oct 2003
Posts: 7
i have a search page which has three differnt typesof search options i e
1st
Reply With Quote
  #5 (permalink)  
Old 11-17-03, 05:30
zarifa_dewey zarifa_dewey is offline
Registered User
 
Join Date: Oct 2003
Posts: 7
Smile

I have an asp page which has searches a database for an item. This search page has three search options
1st text box, the user enters in a word and then clicks the search buttons beside it.
2nd a drop down box with a list of the subject areas that are available to search and then click on the search button allocated to that search option
3rd an alpha search list, i.e. A to Z images click one and a list will appear.
I want all results displayed on the same asp results page regardless of which search options the user used.
I hope this helps cause i really need the help
Reply With Quote
  #6 (permalink)  
Old 11-17-03, 13:42
rnealejr rnealejr is offline
Registered User
 
Join Date: Feb 2002
Posts: 2,232
It sounds like you just need to create a form that submits to itself. Or are you looking for something that does a "refresh in place" - so the page does not have to be reloaded. Are the searche choices independent from each other ?
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On