Re: REDIRECT MULTIPLE RESULTS

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 26160
interpreted = N
texte = I am using this method myself, although I am using the multi-item form and redirecting if only 1 item was returned. The way I do it is within the [FoundItems] loop, not just within the [Search] loop. This way, I can redirect to the exact SKU that was found, but only if only 1 item was found. e.g.[FoundItems] [ShowIf [NumFound]=1][Redirect http://[GetMIMEHeader HTTP_HOST]/Catalog/SingleBook.shtml?command=Search&db=../CATALOG.db&eqSKUdata=[S KU]][/ShowIf] [/FoundItems]Hope this helpsJohn Peacock____________________Reply Separator____________________ Subject: REDIRECT MULTIPLE RESULTS Author: (WebCatalog Talk) Date: 1/13/00 6:00 PMHi, I'm trying to get a script that redirects a page if it finds more then one result after it searches the db.(it's not the redirect command. Its how WC ditects more then one results and IF it ditecs them, then it gos to the opther page) I haven't had any luck yet. Please help. WC3.o Mac. Thank you.------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Associated Messages, from the most recent to the oldest:

    
  1. Re: REDIRECT MULTIPLE RESULTS ( 2000)
I am using this method myself, although I am using the multi-item form and redirecting if only 1 item was returned. The way I do it is within the [founditems] loop, not just within the [search] loop. This way, I can redirect to the exact SKU that was found, but only if only 1 item was found. e.g.[founditems] [ShowIf [NumFound]=1][Redirect http://[GetMIMEHeader HTTP_HOST]/Catalog/SingleBook.shtml?command=Search&db=../CATALOG.db&eqSKUdata=[S KU]][/ShowIf] [/FoundItems]Hope this helpsJohn Peacock____________________Reply Separator____________________ Subject: REDIRECT MULTIPLE RESULTS Author: (WebCatalog Talk) Date: 1/13/00 6:00 PMHi, I'm trying to get a script that redirects a page if it finds more then one result after it searches the db.(it's not the redirect command. Its how WC ditects more then one results and IF it ditecs them, then it gos to the opther page) I haven't had any luck yet. Please help. WC3.o Mac. Thank you.------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

[Fwd: Rotating Banners ... (was LinkExchange)] (1997) [WebDNA] Retrieving a PDF from an email (2008) Replace context problem ... and answers (1997) Cart vs database (1998) WebMerchant & AuthorizeNet (2000) Database location (2002) emailer on Windows Beta 18 (1997) RE: Purchased cart being overwritten (1997) return missing item (was:WebCat Sales) (1997) Webcat 4.5.1 equivalent of autonumber (2003) Refresh cart# (1999) WCS Newbie question (1997) WebCat.acgi from /cgi-bin/? (1997) Help! WebCat2 bug (1997) another problem (1997) Need relative path explanation (1997) Random question (1998) [OT] Next Gen Browsers [Was] Decimal point in search.... (2004) RE: [input] questions (1997) form data submission gets truncated (1997)