Re: Sorting... stumped.
This WebDNA talk-list message is from 2006
It keeps the original formatting.
numero = 63780
interpreted = N
texte = Grrr. I wish I could take back these posts sometimes... ok, alphabetical works for client requirement if T is chosen (TQN)[showif [the_topic]=T][text show=f]searchMethod=eqShortCategoryDataRq=[url][p][/url]&neSkuData=[blank]&sortKeyType=num&productTypeSdir=de&productTypeSort=1&sortKeySort=2&catIDsumm=T&allReqd=T[/text][/showif]Stumped on Q & N ???-DanOn Sun, 08 Jan 2006 10:33:52 -0800 "Dan Strong"
wrote:> Whoops, alphabetical won't work I should have laid off the sauce in kindergarten..)... so now >I'm back to square one... any ideas? temp db?> -Dan> > On Sun, 08 Jan 2006 10:31:09 -0800> "Dan Strong" wrote:>> Need to sort results using a field that contains only the following 3 values in each record T, Q >>& N.>> >> Client wants sort order as follows:>> If T is chosen, then sort TQN>> If Q is chosen then sort QTN>> If N is chosen then sort NTQ>> >> No prob if T or N is chosen. I just toggle the sdir=as or sdir=de in the search string as >>appropriate and it works alphabetically. But how do I handle it if Q is chosen?>> >> Sample code:>> ------------------>> [!]-- [the-topic] is fed to this code from a different page. Values are either T, Q or N --[/!]>> [text >>show=f]searchMethod=eqShortCategoryDataRq=[url][p][/url]&neSkuData=[blank]&sortKeyType=num&productTypeSdir=[showif >>[the_topic]=T]de[/showif][showif >>[the_topic]=N]as[/showif]&productTypeSort=1&sortKeySort=2&catIDsumm=T&allReqd=T[/text]>> >> How to handle if [the_topic]=Q ????>> -Dan>> >> ------------------------------------------------------------->> 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/-------------------------------------------------------------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:
Grrr. I wish I could take back these posts sometimes... ok, alphabetical works for client requirement if T is chosen (TQN)[showif [the_topic]=T][text show=f]searchMethod=eqShortCategoryDataRq=[url][p][/url]&neSkuData=[blank]&sortKeyType=num&productTypeSdir=de&productTypeSort=1&sortKeySort=2&catIDsumm=T&allReqd=T[/text][/showif]Stumped on Q & N ???-DanOn Sun, 08 Jan 2006 10:33:52 -0800 "Dan Strong" wrote:> Whoops, alphabetical won't work I should have laid off the sauce in kindergarten..)... so now >I'm back to square one... any ideas? temp db?> -Dan> > On Sun, 08 Jan 2006 10:31:09 -0800> "Dan Strong" wrote:>> Need to sort results using a field that contains only the following 3 values in each record T, Q >>& N.>> >> Client wants sort order as follows:>> If T is chosen, then sort TQN>> If Q is chosen then sort QTN>> If N is chosen then sort NTQ>> >> No prob if T or N is chosen. I just toggle the sdir=as or sdir=de in the search string as >>appropriate and it works alphabetically. But how do I handle it if Q is chosen?>> >> Sample code:>> ------------------>> [!]-- [the-topic] is fed to this code from a different page. Values are either T, Q or N --[/!]>> [text >>show=f]searchMethod=eqShortCategoryDataRq=[url][p][/url]&neSkuData=[blank]&sortKeyType=num&productTypeSdir=[showif >>[the_topic]=T]de[/showif][showif >>[the_topic]=N]as[/showif]&productTypeSort=1&sortKeySort=2&catIDsumm=T&allReqd=T[/text]>> >> How to handle if [the_topic]=Q ????>> -Dan>> >> ------------------------------------------------------------->> 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/-------------------------------------------------------------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/
"Dan Strong"
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:
WebCatalog can't find database (1997)
Semi-OT SSL IE problem (2005)
[WebDNA] .htm files (2008)
Further tests with the infamous shipCost (1997)
[include file=filename.inc&strip=t] (2002)
Need something like [listchars] ... (2000)
WebCatalog Hosting (1996)
Formulas.db (2001)
Showing specific [cart] contents (1998)
no [search] with NT (1997)
Emailer (1998)
WebCat2b13MacPlugIn - [showif][search][/showif] (1997)
WebCat2 as a chat server? (1997)
Fwd: HTML encoding in URLs (1997)
2.0 Info (1997)
Locking up with WebCatalog... (1997)
form data submission gets truncated (1997)
select multiple (1997)
The force has left me. (2002)
WC2b12: Yes, Formulas.db is for real (1997)