Re: Sort of a Dilema!

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 18407
interpreted = N
texte = Just add a parameter for sort direction (sdir) to equal descending (de), in this case, datesdir=de. It's on page 183 of the printed manual.You can also just add de to the beginning of datesort=1, thus dedatesort=1. This tip isn't in the manual -- picked it up somewhere -- that's how I'm doing the same thing for my dates.Terry Wilson terryw@rainbowcreek.com>I am using the following string to sort the records by field date and >it sorts them by low number to high: >Results.tpl?command=search&db=catalog.txt&eqcategorydatarq=June%201998&cart=298 >121117130388&searchTitle=June%201998&datesort=1&datetype=date>EXCEPT I want the sort to load latest date first. > >I have emptied the manual chapter on sort into the search >string and still no results. > >Whats the correct context for what I want to do? Associated Messages, from the most recent to the oldest:

    
  1. Re: Sort of a Dilema! (Kenneth Grome 1998)
  2. Re: Sort of a Dilema! (Terry Wilson 1998)
  3. Re: Sort of a Dilema! (Dave MacLeay 1998)
  4. Sort of a Dilema! (The Mooseman 1998)
Just add a parameter for sort direction (sdir) to equal descending (de), in this case, datesdir=de. It's on page 183 of the printed manual.You can also just add de to the beginning of datesort=1, thus dedatesort=1. This tip isn't in the manual -- picked it up somewhere -- that's how I'm doing the same thing for my dates.Terry Wilson terryw@rainbowcreek.com>I am using the following string to sort the records by field date and >it sorts them by low number to high: >Results.tpl?command=search&db=catalog.txt&eqcategorydatarq=June%201998&cart=298 >121117130388&searchTitle=June%201998&datesort=1&datetype=date>EXCEPT I want the sort to load latest date first. > >I have emptied the manual chapter on sort into the search >string and still no results. > >Whats the correct context for what I want to do? Terry Wilson

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:

Webstar 1.3.1 PPC (1997) [WebDNA] listcookies v Windows 7 (2011) no global [username] or [password] displayed ... (1997) Forms Search Questions (1997) Webmerchant confirmation hooks? (1997) [search] within [listfiles]? (2003) ShowIF Question (2000) RE:It just Does't add up!!! (1997) E-mail loop ! (1997) Separate SSL Server (1997) First postarg not taking in $Commands (1997) problems with 2 tags (1997) Cancel Subscription (1996) [group] ? (1997) problems with 2 tags (1997) international time (1997) WebCat editing, SiteGuard & SiteEdit (1997) Document Contains no data, or showcart error. (1997) [WebDNA] Electronic Delivery (download) (2008) problems with 2 tags (1997)