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 > asp program problem

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-05-04, 03:46
garyww garyww is offline
Registered User
 
Join Date: May 2004
Posts: 40
asp program problem

hi,
As you can see the program bycolor.asp, byweight.asp

http://internal.quickentextiles.com....om/bycolor.asp

http://internal.quickentextiles.com....m/byweight.asp

HOw can I create a single search button to search let say I input 10 on by
weight and input blue on the by color search and can search this combine criteria with only this two matched criteria result.

Any solution.
thanks
man
Email : wwmg@netvigator.com
Reply With Quote
  #2 (permalink)  
Old 09-05-04, 14:20
Seppuku Seppuku is offline
Useless...
 
Join Date: Jul 2003
Location: SoCal
Posts: 721
Gary,

You need to have a single search page. That search page has several input fields. The user enters several values and clicks Submit. When submitted, your single results page simply looks at all the fields that were submitted and builds the SQL string.

In your code, you have a separate search page, form tag, and result page for every search type. You only need one search page containing one form tag, and one result page.
__________________
That which does not kill me postpones the inevitable.
Reply With Quote
  #3 (permalink)  
Old 09-06-04, 14:12
Seppuku Seppuku is offline
Useless...
 
Join Date: Jul 2003
Location: SoCal
Posts: 721
Gary,

Post back to the forum instead of emailing me. It'll help you where many other developers can review your question, and it'll help others who may have the same question.
__________________
That which does not kill me postpones the inevitable.
Reply With Quote
  #4 (permalink)  
Old 09-09-04, 00:24
garyww garyww is offline
Registered User
 
Join Date: May 2004
Posts: 40
re: to sep

Thanks for your reply. I still can't get the syntax of how to do. To create a form. How can I link back to each individual asp program with SQL. Do I need to modify the SQL statement too.
Please help.
Do you have any step or hints I can work this multiple searching by criteria as well.

thanks

gar
Reply With Quote
  #5 (permalink)  
Old 09-09-04, 00:25
garyww garyww is offline
Registered User
 
Join Date: May 2004
Posts: 40
re: to Seppuku

hi,
As you can see the program bycolor.asp, byweight.asp

http://internal.quickentextiles.com...oom/bycolor.asp

http://internal.quickentextiles.com...om/byweight.asp

HOw can I create a single search button to search let say I input 10 on by
weight and input blue on the by color search and can search this combine criteria with only this two matched criteria result.

Any solution.
thanks
man
Email : wwmg@netvigator.com
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