Re: Showing Results Alphabetically in Columns (top to bottom)
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 46184
interpreted = N
texte = not sure if that was the response i was expecting....[math][numfound]/3[/math] should give you the number of rows.
[searchdb=database.txt&wscommitteedatarq=[committeesku]&lnamesort=1&lnamesdir=as][text]number=[math][numfound]/3[/math][/text][text]counter=0[/text][founditems][text]counter=[math][counter]+1[/math][/text][fname] [lname] | [showif [counter]>[number]] [text]counter=0[/text][/showif][/founditems][/search] |
----- Original Message -----From: Kimberly D. Walls (Ingram)
To: WebCatalog Talk Sent: Wednesday, December 11, 2002 2:30 PMSubject: Re: Showing Results Alphabetically in Columns (top to bottom)> Well that sucks.... In some cases, I may have 5 rows and in other cases,I> may have 50. Is this the only way?>> Poo!>>> -----Original Message-----> From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf> Of Andrew Simpson> Sent: Tuesday, December 10, 2002 8:25 PM> To: WebCatalog Talk> Subject: Re: Showing Results Alphabetically in Columns (top to bottom)>>> you have to work out how many rows you are going to have first and divide> that by three.>>>>> ----- Original Message -----> From: Kimberly D. Walls (Ingram) > To: WebCatalog Talk > Sent: Wednesday, December 11, 2002 2:21 PM> Subject: Showing Results Alphabetically in Columns (top to bottom)>>> > Surely, someone has found a way to make this happen... but I can't seemto> > find anything in the archives. Probably because I don't know what tolook> > for.> >> > > >> > [search> >db=database.txt&wscommitteedatarq=[committeesku]&lnamesort=1&lnamesdir=as]> >> > [founditems]> >> > > >> > [fname] [lname]> >> > | > >> > [showif [index]\3]
[/showif]> >> > [/founditems]> >> > [/search]> >> >> >> > This particular line: [showif [index]\3]
[/showif]> >> > brings back results in three columns... but alphabetically from left to> > right across the columns. How would I go about showing results in> > alphabetical order from top to bottom?> >> > So instead of:> >> > A B C> >> > D E F> >> > I would like to have:> >> > A C E> >> > B D F> >> >> >> > I'm stuck.> >> > Kim> >> >> >> >> > -------------------------------------------------------------> > 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/>>> -------------------------------------------------------------> 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/>>>>> -------------------------------------------------------------> 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/-------------------------------------------------------------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:
not sure if that was the response i was expecting....[math][numfound]/3[/math] should give you the number of rows.[searchdb=database.txt&wscommitteedatarq=[committeesku]&lnamesort=1&lnamesdir=as][text]number=[math][numfound]/3[/math][/text][text]counter=0[/text][founditems][text]counter=[math][counter]+1[/math][/text][fname] [lname] | [showif [counter]>[number]] [text]counter=0[/text][/showif][/founditems][/search] |
----- Original Message -----From: Kimberly D. Walls (Ingram) To: WebCatalog Talk Sent: Wednesday, December 11, 2002 2:30 PMSubject: Re: Showing Results Alphabetically in Columns (top to bottom)> Well that sucks.... In some cases, I may have 5 rows and in other cases,I> may have 50. Is this the only way?>> Poo!>>> -----Original Message-----> From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf> Of Andrew Simpson> Sent: Tuesday, December 10, 2002 8:25 PM> To: WebCatalog Talk> Subject: Re: Showing Results Alphabetically in Columns (top to bottom)>>> you have to work out how many rows you are going to have first and divide> that by three.>>>>> ----- Original Message -----> From: Kimberly D. Walls (Ingram) > To: WebCatalog Talk > Sent: Wednesday, December 11, 2002 2:21 PM> Subject: Showing Results Alphabetically in Columns (top to bottom)>>> > Surely, someone has found a way to make this happen... but I can't seemto> > find anything in the archives. Probably because I don't know what tolook> > for.> >> > > >> > [search> >db=database.txt&wscommitteedatarq=[committeesku]&lnamesort=1&lnamesdir=as]> >> > [founditems]> >> > > >> > [fname] [lname]> >> > | > >> > [showif [index]\3]
[/showif]> >> > [/founditems]> >> > [/search]> >> >> >> > This particular line: [showif [index]\3]
[/showif]> >> > brings back results in three columns... but alphabetically from left to> > right across the columns. How would I go about showing results in> > alphabetical order from top to bottom?> >> > So instead of:> >> > A B C> >> > D E F> >> > I would like to have:> >> > A C E> >> > B D F> >> >> >> > I'm stuck.> >> > Kim> >> >> >> >> > -------------------------------------------------------------> > 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/>>> -------------------------------------------------------------> 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/>>>>> -------------------------------------------------------------> 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/-------------------------------------------------------------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/
Andrew Simpson
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:
WebCat2: Items xx to xx shown, etc. (1997)
Fwd: Problems with Webcatalog Plug-in (1997)
Emailer pref's won't save (2005)
What am I doing wrong? --GOT IT! (2000)
[TaxableTotal] - not working with AOL and IE (1997)
Purchased cart being overwritten - still !?? (1997)
no global [username] or [password] displayed ... (1997)
generating a space delimited file (2001)
Unix DB Permission Error (2002)
[WebDNA] v7 problem? (2012)
multi-paragraph fields (1997)
Adding Items to Cart (2003)
Change to UPPERCASE (2000)
WebCatalog for Postcards ? (1997)
Online reference (1997)
WebCat2: Found Items syntax, etc. (1997)
[shell] (2003)
Append (1999)
ReturnRaw and redirect one last question (1997)
searching illegal HTML (2002)