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 sonoted...> 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> DeltaI 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 ofmultiple 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][name] | [/showif][!][/!][/founditems]
[/loop]
[/search]Rob MarquardtDesigner/Resident WireheadToast Design800 Washington Avenue NorthMinneapolis MN 55401612.330.9863 v612.321.9424 fwww.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:
on 8/5/2003 4:04 am, Nitai @ ComputerOil at nitai@computeroil.com sonoted...> 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> DeltaI 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 ofmultiple 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][name] | [/showif][!][/!][/founditems]
[/loop]
[/search]Rob MarquardtDesigner/Resident WireheadToast Design800 Washington Avenue NorthMinneapolis MN 55401612.330.9863 v612.321.9424 fwww.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)