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:

[WebDNA] PayPal Integration (2017) caching -check- (2001) watch out for format_to_days on NT (1997) Re:listfiles-looking for slick solution (1997) Protecting webdelivery (1997) Unexpected error (1997) Hiding a character (2001) &max= (2003) WebDNA on Linux (2005) Bit off subject -- Faxing orders (1997) Viewing old carts (was FEW QUESTIONS) (1997) required fields (1998) problems with WebCat-Plugin () WEBCAT with SQL backend. Help please! (2000) WebCatalog not recognizing ShoppingCarts folder (2000) Unzip (2005) Funny Chars (1999) Applescript, WebDNA, and PDF (1997) Help name our technology! (1997) WebCat2 - storing unformatted date data? (1997)