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 > Delta You 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 Nordberg http://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:

    
  1. Re: Sorting alphabetical ( Rob Marquardt 2003)
  2. Re: Sorting alphabetical ( Steve Dannaway 2003)
  3. Re: Sorting alphabetical ( Christer Olsson 2003)
  4. Re: Sorting alphabetical ( Frank Nordberg 2003)
  5. Sorting alphabetical ( "Nitai @ ComputerOil" 2003)
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 > Delta You 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 Nordberg http://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:

WebCatalog on Windows 98 (2000) grabbing xml data with webcat (was: Posting XML data toSSL (2002) New to WebCat, Help. (1998) [WebDNA] v7 with SSL (2012) SUBMIT buttons not working.... (2000) WC2.0 Memory Requirements (1997) Line items in table cells (1997) OS and/or browser problems? (2002) re: Default contains WEBDNA (1998) hidden (phantom) file downloads (2000) WebCat2b13MacPlugIn - More limits on [include] (1997) Writefile, Raw & include (2002) Comments in db? (1997) OT: Thawte SSL on Mac OS X Server (2005) Error Lob.db records error message not name (1997) Browser based content... (2004) Grouping search fields, etc. (1997) IE Cache Problems... (1999) Alpha Sort - ignore certain characters (2003) Ram usage (1999)