numero = 50729
interpreted = N
texte = ThanksI will give this a try as it looks like it makes good sense as our databaseis going to have quite a few records. It is very possible that we don'tneed this feature (the [showif] ... not your suggestion) at all but Ithought 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]>> >> [/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:
Re: [showif] results returned... (Alan White 2003)
ThanksI will give this a try as it looks like it makes good sense as our databaseis going to have quite a few records. It is very possible that we don'tneed this feature (the [showif] ... not your suggestion) at all but Ithought 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]>> >> [/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
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...