Re: total number of matches
This WebDNA talk-list message is from 1999
It keeps the original formatting.
numero = 23873
interpreted = N
texte = At 19:25 Uhr -0600 19.02.99, webcat wrote:>What I would like to do is to have a count of how many links are in each>category. I wasn't able to find information on how to do this. I have>looked in the searching section (where the comparisions docs, etc are>located)>>Do I have to actually do additional searches for each category found to>get the [NumFound] value?Yes. You don't need [founditems] if you just want to know the number ofrecords, but you have to search for each name separately, basically likethis[search db=my.db&eqCATEGORYdatarq=Cat_A] [Cat_A]: [numfound]
[/search][search db=my.db&eqCATEGORYdatarq=Cat_B] [Cat_B]: [numfound]
[/search]Peter++++++++++++++++++++++++++++++++++++++++++++++++Peter Ostry - Vienna/Austria - www.ostry.comFon ++43-1-877 74 54 Fax ++43-1-877 74 54-21++++++++++++++++++++++++++++++++++++++++++++++++
Associated Messages, from the most recent to the oldest:
At 19:25 Uhr -0600 19.02.99, webcat wrote:>What I would like to do is to have a count of how many links are in each>category. I wasn't able to find information on how to do this. I have>looked in the searching section (where the comparisions docs, etc are>located)>>Do I have to actually do additional searches for each category found to>get the [NumFound] value?Yes. You don't need
[founditems] if you just want to know the number ofrecords, but you have to search for each name separately, basically likethis[search db=my.db&eqCATEGORYdatarq=Cat_A] [Cat_A]: [numfound]
[/search][search db=my.db&eqCATEGORYdatarq=Cat_B] [Cat_B]: [numfound]
[/search]Peter++++++++++++++++++++++++++++++++++++++++++++++++Peter Ostry - Vienna/Austria - www.ostry.comFon ++43-1-877 74 54 Fax ++43-1-877 74 54-21++++++++++++++++++++++++++++++++++++++++++++++++
Peter Ostry
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:
IE problems persist (2004)
(2000)
pc (1997)
Triggers (1999)
[Sum] function? (1997)
Duplicate Items in the Cart (1998)
rnsearch on date (2003)
WebCat2 beta 11 - new prefs ... (1997)
FormVariable (1999)
Setting shipCost -- thanks! (1999)
Sorting by date (1997)
Is the Finder required? (1998)
Newbie problem blah blah blah (1997)
Bug or syntax error on my part? (1997)
Semi-OT SSL IE problem solved (2005)
Search returns all, not 20 (1997)
SIMS setup (1998)
Separate SSL Server (1997)
PCS Frames (1997)
Quit revisited (1997)