Sorting a summary

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 34137
interpreted = N
texte = Need some help sorting a summary by number of items found. Here is the code I am using:[search db=dbs/custinfo.db&geSTATEdata=0&STATEsumm=T] [founditems] [search db=dbs/custinfo.db&eqSTATEdatarq=[STATE]&max=1] [founditems] [STATE] [NUMFOUND] [/founditems] [/search][/founditems] [/search]Instead of having a list of states returned in alphabetical order, I want the list returned in order of the number found. So the state that has the most number of records is returned first in my list of founditems. Happy fourth!__________________________________________________ Do You Yahoo!? Kick off your party with Yahoo! Invites. http://invites.yahoo.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://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Sorting a summary (Joseph D'Andrea 2000)
  2. Sorting a summary (Jeff Grady 2000)
Need some help sorting a summary by number of items found. Here is the code I am using:[search db=dbs/custinfo.db&geSTATEdata=0&STATEsumm=T] [founditems] [search db=dbs/custinfo.db&eqSTATEdatarq=[STATE]&max=1] [founditems] [STATE] [NUMFOUND] [/founditems] [/search][/founditems] [/search]Instead of having a list of states returned in alphabetical order, I want the list returned in order of the number found. So the state that has the most number of records is returned first in my list of founditems. Happy fourth!__________________________________________________ Do You Yahoo!? Kick off your party with Yahoo! Invites. http://invites.yahoo.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://search.smithmicro.com/ Jeff Grady

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:

Variable prices and Formulas.db (1997) Just Testing (1997) WebCat cannot handle compatible search parameters? (1997) PROBLEM (1997) Emailer errors (1997) Major bug report on rootbeer (1997) Text data with spaces in them... (1997) Searching Multiple DBs (1997) performans tests... (2001) Search in 2 or more catalogs (1997) Re[2]: Price Not Appearing [LONG] (2000) [WebDNA] Inline email images (2011) How to include weather (2000) WebCat for Unix?? (1997) Deleting Orders (1997) ImageMagick (2005) Re:Message Board (1998) RE: search same field twice??? (1999) Configuring E-mail (1997) [WebDNA] Convert db to MySQL (2009)