Re: Table sorting by selected category then others -SOLUTION

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 58080
interpreted = N
texte = I solved it with the following in case anyone is following this. I guess this is a way to specify a preset sort order: [search db=catalog.db&necategorydatarq=[category]&eqbranddatarq=[brand]&categorysumm=T] [text show=f]categorylist=[founditems][category],[/founditems][/text] [/search] [ListWords Words=[categorylist]&Delimiters=,] [text show=F]category[index]=[word][/text] [text show=F]maxindex=[index][/text] [/ListWords] [hideif [Url][category][/Url]=] [search db=catalog.db&eqcategorydatarq=[category]&eqbranddatarq=[brand]&astitlesort=1&titlesumm=T]      [founditems]  [showif [index]\3][/showif] [/founditems]  
[Uppercase][category][/Uppercase] 
[title]

[/search] [/hideif]
[loop start=1&end=[maxindex]] [hideif [Interpret][category[index]][/Interpret]=[Raw][category[index]][/Raw]] [search db=catalog.db&eqcategorydatarq=[Interpret][category[index]][/Interpret]&eqbranddatarq=[brand]&astitlesort=1&titlesumm=T]      [founditems]  [showif [index]\3][/showif] [/founditems]  
[Uppercase][Interpret][category[index]][/Interpret][/Uppercase] 
[title]

[/search] [/hideif]
[/loop] ------------------------------------------------------------- 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: Table sorting by selected category then others -SOLUTION ( Gary Krockover 2004)
I solved it with the following in case anyone is following this. I guess this is a way to specify a preset sort order: [search db=catalog.db&necategorydatarq=[category]&eqbranddatarq=[brand]&categorysumm=T] [text show=f]categorylist=[founditems][category],[/founditems][/text] [/search] [ListWords Words=[categorylist]&Delimiters=,] [text show=F]category[index]=[word][/text] [text show=F]maxindex=[index][/text] [/ListWords] [hideif [url][category][/Url]=] [search db=catalog.db&eqcategorydatarq=[category]&eqbranddatarq=[brand]&astitlesort=1&titlesumm=T]      [founditems]  [showif [index]\3][/showif] [/founditems]  
[uppercase][category][/Uppercase] 
[title]

[/search] [/hideif]
[loop start=1&end=[maxindex]] [hideif [interpret][category[index]][/Interpret]=[raw][category[index]][/Raw]] [search db=catalog.db&eqcategorydatarq=[interpret][category[index]][/Interpret]&eqbranddatarq=[brand]&astitlesort=1&titlesumm=T]      [founditems]  [showif [index]\3][/showif] [/founditems]  
[uppercase][interpret][category[index]][/Interpret][/Uppercase] 
[title]

[/search] [/hideif]
[/loop] ------------------------------------------------------------- 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/ Gary Krockover

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:

[OT] Bush's Cyberensive (2003) [capitalize] (2005) WebCat.acgi from /cgi-bin/? (1997) Forms Search Questions (1997) NT Manual (1997) Memory Error message (1998) Memory Error message (1998) [setcookie] & [redirect] (1998) [delete] problem (1997) TaxTotal Problem (1997) [WebDNA] Initial setup problems with 6.2 (2009) 3.0 [TEXT] variables (1998) Re2: frames & carts (1997) [WebDNA] jumping on the linux train (2011) Formatting a .txt file (1998) A multi-processor savvy WebCatalog? (1997) Listserver problem (1997) PIXO with cometsite ... and/or other plugins (1998) [CART] (1997) Running _every_ page through WebCat ? (1997)