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> DeltaYou 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 Nordberghttp://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:
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> DeltaYou 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 Nordberghttp://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:
[WebDNA] webdna email breaking (2011)
Nesting format tags (1997)
HTML Editors (1997)
OT: ACGI help (2002)
Using [Showif] tag. Mac (1997)
WebCat2b13MacPlugIn - [include] (1997)
sort problems....bug or brain fart? (1997)
country of origin from IPADDRESS??? (2001)
question... no field names? (2002)
Cleaner URLs (2003)
Need help with emailer- 2 issues (1997)
Duplicate Carts (2006)
Add more fields to an existent data base (1997)
New command suggestion (was Modifying databasesmanually) (1997)
DataBaseHelper Flawed (1997)
$Quit, $CloseDatabase corrections (1997)
Fishing: anyone on this group willing to do support? (1998)
Mirroring WebCat Servers (2001)
Error handling for accountNum (1997)
Wrapping text (1998)