Re: [showif] results returned...

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 50720
interpreted = N
texte = I don't know if this will speed things up, but there is a maximum found parameter for the search context. You might try setting that to 1 so that you can avoid having the entire search result returned. That might save some time depending upon how the search context actually works.Alan White wrote:> To: (WebDNA Talk) > Date: Wed, 28 May 2003 11:41:04 > Subject: Re: [showif] results returned... > From: Alan White > > Hi Bill > > I managed to get it sorted using the following format repeated for each > price range:- > > [search db=database.db&rnPRICEdatarq=0 > 50&PRICEtype=num&geNO_INVENTORYdatarq=0&NO_INVENTORYtype=num] > [showif [numfound]>0] > value=index.html?cart=[cart]&the_PRICE=_small&search_type=_PRICE&RA=[random > ][random][random]>£0 - £50 > [/showif] > [/search] > > It was the [numfound] thing that got it working for me :-) > > Being as I am still new to the workings of WebDNA is was stuck for how to > compare if any results were found and this was how... > > I would still be interested if anyone out there has a better way of doing > this so that all of the queries can be *consolidated* so to speak into one. > > Thanks for your help. > ------------------------------------------------------------- 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 Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: [showif] results returned... (Alan White 2003)
  2. Re: [showif] results returned... (William DeVaul 2003)
  3. Re: [showif] results returned... (Alan White 2003)
  4. Re: [showif] results returned... (devaulw@onebox.com 2003)
  5. Re: [showif] results returned... (Alan White 2003)
  6. Re: [showif] results returned... (William DeVaul 2003)
  7. [showif] results returned... (Alan White 2003)
I don't know if this will speed things up, but there is a maximum found parameter for the search context. You might try setting that to 1 so that you can avoid having the entire search result returned. That might save some time depending upon how the search context actually works.Alan White wrote:> To: (WebDNA Talk) > Date: Wed, 28 May 2003 11:41:04 > Subject: Re: [showif] results returned... > From: Alan White > > Hi Bill > > I managed to get it sorted using the following format repeated for each > price range:- > > [search db=database.db&rnPRICEdatarq=0 > 50&PRICEtype=num&geNO_INVENTORYdatarq=0&NO_INVENTORYtype=num] > [showif [numfound]>0] > value=index.html?cart=[cart]&the_PRICE=_small&search_type=_PRICE&RA=[random > ][random][random]>£0 - £50 > [/showif] > [/search] > > It was the [numfound] thing that got it working for me :-) > > Being as I am still new to the workings of WebDNA is was stuck for how to > compare if any results were found and this was how... > > I would still be interested if anyone out there has a better way of doing > this so that all of the queries can be *consolidated* so to speak into one. > > Thanks for your help. > ------------------------------------------------------------- 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 Web Archive of this list is at: http://webdna.smithmicro.com/ William DeVaul

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:

Robots fill event log (1997) listfiles sort?! (2005) WebMerchant email template format? (1997) Dynamic Form - Shipping Country / State/ Province (2006) multiple databases (1997) Errata: WCS Newbie question (1997) service stop and restart (1997) different ship dates and shopping carts -- how to? (1997) Emailer (WebCat2) (1997) target=_blank and form variables (1997) Summing fields (1997) XML version of WebDNA docs? (2000) New servers and new inline cache (1997) Page-Execution-Timer...PHP vs WebDNA (2004) Processing all html files through WebCat or Typhoon (1998) Some Advise needed (1997) Re:2nd WebCatalog2 Feature Request (1996) PIXO support (1997) [shownext] (1998) listfile options (1997)