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:

[WebDNA] agree? --> [url] broken inside [redirect], on a (2009) problems with 2 tags (1997) 'page impression' techniques for banner ads (1999) WebCat 4 / 4.5 License for sale! (2003) Migrating to NT (1997) WebCatalog2 Feature Feedback (1996) problems with 2 tags (1997) Frames and WebCat (1997) Do triggers work on Macs? (2000) Cart -> Date and Time (2004) off topic fetch vs PCS photomaster (1997) Installing on IIS 5.1 Windows XP Pro - Username/Password (2006) Dummy Credit Card Number for debug? (1997) Another question about credit cards (1997) help needed: Non-english characters in WebCatalog (1997) WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997) WebCat NT v. Mac (1997) Initiating NewCart (1997) Format all of a sudden doesn't work (1997) Newbie questions (1999)