Re: Sorting alphabetical

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 52075
interpreted = N
texte = on 8/5/2003 4:04 am, Nitai @ ComputerOil at nitai@computeroil.com so noted... > 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 I know I did this in response to a similar question a while ago. : ) It uses a single search and puts each item in its own cell (instead of multiple tall columns). Database use should be pretty self-explanatory. [search db=names.db&neNameData=[blank]&nameSort=1] [math show=f]cols=ceil([numfound]/3)[/math] [math show=f]offset=cols[/math] [loop start=1&end=[cols]] [math show=f]offset=offset-1[/math] [founditems][!] [/!][showif [math]([index]+[offset])\[cols][/math]=1][/showif][!] [/!][/founditems] [/loop]
[name]
[/search] Rob Marquardt Designer/Resident Wirehead Toast Design 800 Washington Avenue North Minneapolis MN 55401 612.330.9863 v 612.321.9424 f www.toastdesign.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)
on 8/5/2003 4:04 am, Nitai @ ComputerOil at nitai@computeroil.com so noted... > 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 I know I did this in response to a similar question a while ago. : ) It uses a single search and puts each item in its own cell (instead of multiple tall columns). Database use should be pretty self-explanatory. [search db=names.db&neNameData=[blank]&nameSort=1] [math show=f]cols=ceil([numfound]/3)[/math] [math show=f]offset=cols[/math] [loop start=1&end=[cols]] [math show=f]offset=offset-1[/math] [founditems][!] [/!][showif [math]([index]+[offset])\[cols][/math]=1][/showif][!] [/!][/founditems] [/loop]
[name]
[/search] Rob Marquardt Designer/Resident Wirehead Toast Design 800 Washington Avenue North Minneapolis MN 55401 612.330.9863 v 612.321.9424 f www.toastdesign.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/ Rob Marquardt

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:

Re[3]: 2nd WebCatalog2 Feature Request (1996) Spawn doesn't work as advertised ... (2000) Execute Applescript (1997) WebCatalog 2.1 License for Sale (1998) Grep not working, shows [grep] in browser (2000) WebCatalog 2.0 & WebDNA docs in HTML ... (1997) [WebDNA] WebDNA app (2013) WebCat2: Items xx to xx shown, etc. (1997) Email template names (1997) rounding to nearest .05 (1999) Trouble serving graphics on protected templates (1998) How do I specify a & character in Grep? (2000) cart file creation (2003) State Coalition Approves Internet Sales Tax Plan (2002) Nutscrape Doesn't Render Right (2002) Apache freak-out with webDNA (2008) Show new (2003) Generating unique SKU from [cart] - FIXED! (1997) Append..... doesn't (2000) setting cookies then redirecting? (1998)