Re: [showif] results returned...

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 50729
interpreted = N
texte = ThanksI will give this a try as it looks like it makes good sense as our database is going to have quite a few records. It is very possible that we don't need this feature (the [showif] ... not your suggestion) at all but I thought it would be a good idea to build it in just in case.on 28/5/03 4:19 am, William DeVaul at devaulw@onebox.com wrote:> 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/ ------------------------------------------------------------- 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)
ThanksI will give this a try as it looks like it makes good sense as our database is going to have quite a few records. It is very possible that we don't need this feature (the [showif] ... not your suggestion) at all but I thought it would be a good idea to build it in just in case.on 28/5/03 4:19 am, William DeVaul at devaulw@onebox.com wrote:> 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/ ------------------------------------------------------------- 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/ Alan White

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:

Re:Message Board (1998) Loosing Quantity (2000) Inventory Adjustment SOLUTION (2000) problems with 2 tags (1997) Help with update to 2.11 (1998) # fields limited? (1997) WebCatalog seems to choke on large (2meg) html files. (1998) Counting records (2000) Beta less tested (was $flushcache causes crash) (2000) Uploading Files (2000) Custom WebCat Prefs ... (1997) [OT] Am I an Idiot? (2004) Unexpected error (1997) Click-through/Referral tracking solution needed (2000) emailer (1997) [price] maddness (2002) Where's Cart Created ? (1997) suffix mapping for NT? (1997) Append - form based command (1999) Listserver problem (1997)