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:

Hiding HTML and breaking the page (1997) [WebDNA] Error 500 with SUMM=T (2017) WebCat2 beta 11 - new prefs ... (1997) WebCatalog 2.0 b 15 mac (1997) Sensations (1997) whole word search bringing irrelevant results.. (2000) WebCat2 as a chat server? (1997) Smith Micro Site (2000) sendmail and CGatePro (2003) sendmail spaces (1997) [WebDNA] merging multiple database fields into a new field (2016) Search returns all, not 20 (1997) Problems with [Search] param - Mac Plugin b15 (1997) [WebDNA] fileinfo - need photo w & h written to a database (2016) carriage returns in data (1997) Hard Questions ? (1997) Great product and great job ! (1997) Max Record length restated as maybe bug (1997) Banners (1997) [defined]ish (1997)