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:

WebCat2b13MacPlugIn - [showif][search][/showif] (1997) Multi-processor Mac info ... (1997) WebCat2b15MacPlugin - showing [math] (1997) Showif for mulitple variations (1997) Help! WebCat2 bug (1997) Nested tags count question (1997) Blocking off access (2005) [WebDNA] Ubuntu 14.04 & WebDNA (2017) WebCatalog can't find database (1997) Multiple prices (1997) is sku a REQUIRED field on NT (1997) Using Applescript to process WebCatalog functions (1998) WebDNA 4.5 not starting on boot? (2002) Frames and WebCat (1997) Webdna and Plesk on MS server2003 (2008) Re:Virtual hosting and webcatNT (1997) Running _every_ page through WebCat ? (1997) Re:FYI: Error message (1996) Plugin or CGI or both (1997) Re[2]: POSTing to a secure server ... (2000)