Re: Sorting alphabetical
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 52061
interpreted = N
texte = Nitai @ ComputerOil wrote:> Hi all,> > We all know that we can do a search and split the founditems into different> cells. The result might look like this (without HTML for easier reading):> > alpha beta delta> Gamma> > But what is when I want to sort it like this:> > alpha gamma> Beta> DeltaYou mean presenting the search results in two or more columns? This is a bit rough, but it will do the trick (although I'm sure some of the real WebDNA experts here can come up with easier and more elegant ways).Do it as two separate, but (almost) identical searches, something like:
[SEARCH {searchstring}&startat=1&max=3][FOUNDITEMS]{list item 1-3}[/FOUNDITEMS][/SEARCH] | [SEARCH {searchstring}&startat=4&max={whatever}][FOUNDITEMS]{list}[/FOUNDITEMS][/SEARCH] | Lots of fine tunings and variants possible to get two columns of equal lengths and such, but that's the basic idea.Frank Nordberghttp://www.musicaviva.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:
Nitai @ ComputerOil wrote:> Hi all,> > We all know that we can do a search and split the founditems into different> cells. The result might look like this (without HTML for easier reading):> > alpha beta delta> Gamma> > But what is when I want to sort it like this:> > alpha gamma> Beta> DeltaYou mean presenting the search results in two or more columns? This is a bit rough, but it will do the trick (although I'm sure some of the real WebDNA experts here can come up with easier and more elegant ways).Do it as two separate, but (almost) identical searches, something like:[SEARCH {searchstring}&startat=1&max=3][founditems]{list item 1-3}[/FOUNDITEMS][/SEARCH] | [SEARCH {searchstring}&startat=4&max={whatever}][founditems]{list}[/FOUNDITEMS][/SEARCH] | Lots of fine tunings and variants possible to get two columns of equal lengths and such, but that's the basic idea.Frank Nordberghttp://www.musicaviva.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/
Frank Nordberg
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:
Ad Serving Software (2002)
Re[3]: 2nd WebCatalog2 Feature Request (1996)
Every other record deleted (2005)
creating a ShipCosts database (1997)
Country & Ship-to address & other fields ? (1997)
multiple search commands (1997)
Webcatalog server support (1997)
os 8.5 (1999)
syntax question, not in online refernce (1997)
Search/sort in URL Was: GuestBook example (1997)
Running 2 two WebCatalog.acgi's (1996)
Just a thought (1998)
autosensing lanague selection (1997)
Quit revisited (1997)
E-Mailer (WebCatb15acgiMac) (1997)
mySQL --- problem?? (2004)
Country & Ship-to address & other fields ? (1997)
AutoCommit Preference? (1998)
Email Attachments (1998)
Security Question (1997)