Re: More than 2 sort specs?

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 53005
interpreted = N
texte = You're right... I created a database with three fields sku sub1 sub2 and populated it like this: 1 1 1 1 1 2 1 1 3 1 2 1 1 2 2 etc all the way to... 3 3 3 [search db=3Dwhatever.db&[!] [/!]geskudatarq=3D0&[!] [/!]skutype=3Dnum&[!] [/!]skusort=3D1&[!] [/!]skusdir=3Das&[!] [/!]sub1type=3Dnum&[!] [/!]sub1sort=3D2&[!] [/!]sub1sdir=3Das&[!] [/!]sub2type=3Dnum&[!] [/!]sub2sort=3D3&[!] [/!]sub2sdir=3Dde[!] [/!]] works just fine. It comes out: 1 1 3 1 1 2 1 1 1 1 2 3 1 2 2 1 2 1 1 1 3 1 1 2 etc. to: 3 3 1 --=20 Matthew C. Bohne Web Developer Sandusky Register 314 W. Market St. Sandusky, OH 44870 419-625-5500 ext. 253 matthewbohne@sanduskyregister.com http://www.sanduskyregister.com On Friday, September 19, 2003 4:11 PM, WebDna @ = wrote: >I always thought you could specify as many as you need. That it just used >the lost to highest in numbering to decide what field to use >first. > >Am I wrong? > > >----- Original Message -----=20 >From: "Lester" >To: "WebDNA Talk" >Sent: Friday, September 19, 2003 12:56 PM >Subject: More than 2 sort specs? > > >> When I show ALL the listings in one database, I need >> to sort and show listings by at least 3 specs >> >> Level >> Category >> Date >> >> sort and sdir only let's me do 2 >> >> can I do 3 without jumping through hoops somehow? >> >> Its sorta rare that showing ALL will be done, but its >> been asked about already. >> >> >> webdna 4.5 on NT >> >> >> __________________________________ >> Do you Yahoo!? >> Yahoo! SiteBuilder - Free, easy-to-use web site design software >> http://sitebuilder.yahoo.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:

    
  1. Re: More than 2 sort specs? ( Matthew Bohne 2003)
  2. Re: More than 2 sort specs? ( "WebDna @" 2003)
  3. More than 2 sort specs? ( Lester 2003)
You're right... I created a database with three fields sku sub1 sub2 and populated it like this: 1 1 1 1 1 2 1 1 3 1 2 1 1 2 2 etc all the way to... 3 3 3 [search db=3Dwhatever.db&[!] [/!]geskudatarq=3D0&[!] [/!]skutype=3Dnum&[!] [/!]skusort=3D1&[!] [/!]skusdir=3Das&[!] [/!]sub1type=3Dnum&[!] [/!]sub1sort=3D2&[!] [/!]sub1sdir=3Das&[!] [/!]sub2type=3Dnum&[!] [/!]sub2sort=3D3&[!] [/!]sub2sdir=3Dde[!] [/!]] works just fine. It comes out: 1 1 3 1 1 2 1 1 1 1 2 3 1 2 2 1 2 1 1 1 3 1 1 2 etc. to: 3 3 1 --=20 Matthew C. Bohne Web Developer Sandusky Register 314 W. Market St. Sandusky, OH 44870 419-625-5500 ext. 253 matthewbohne@sanduskyregister.com http://www.sanduskyregister.com On Friday, September 19, 2003 4:11 PM, WebDna @ = wrote: >I always thought you could specify as many as you need. That it just used >the lost to highest in numbering to decide what field to use >first. > >Am I wrong? > > >----- Original Message -----=20 >From: "Lester" >To: "WebDNA Talk" >Sent: Friday, September 19, 2003 12:56 PM >Subject: More than 2 sort specs? > > >> When I show ALL the listings in one database, I need >> to sort and show listings by at least 3 specs >> >> Level >> Category >> Date >> >> sort and sdir only let's me do 2 >> >> can I do 3 without jumping through hoops somehow? >> >> Its sorta rare that showing ALL will be done, but its >> been asked about already. >> >> >> webdna 4.5 on NT >> >> >> __________________________________ >> Do you Yahoo!? >> Yahoo! SiteBuilder - Free, easy-to-use web site design software >> http://sitebuilder.yahoo.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/ Matthew Bohne

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:

Size limit for tmpl editor ? (1997) Date Help! (2003) possible bug in unix version? (2000) Restoring textarea stored in header (1998) cart ID (1998) WebCatalog Plug-in for Webstar. (1997) date display (1999) Can ShowNext do this? (2000) Autoreturn Submit? (1997) Help formatting search results w/ table (1997) Trouble with formula.db + more explanation (1997) Serving images from databases (1998) Capitalize command (2000) Mac: LModelDirector bug fix (1997) Upgrade to wsV (2004) Error Lob.db records error message not name (1997) emailcompleted and emailproblem folders (2005) Exclamation point (1997) http://www.smithmicro.com/WebDNAReference/ current? (2000) WebCat2 several catalogs? (1997)