Dates - Search and Sorting

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 23008
interpreted = N
texte = I am trying to do search that then sorts on a field containing date entries, as shown below. (Dated is the name of my database field)This search find all entries that match the Marker field entry show below. I then want to sort using the Dated field so the date will show in from first date to the last.[search db=my.db&eqMarkerdatarq=c&Datedtype=date&Datedsort=1&Datedsdir=as]This search results show the records found as expected, but the sorting is not happening by date. It seems to be sorting the correct Dated field, but it is seeing them as text not dates. I include the type tag, but it still doesn't see it properly.Thanks for any help.RH Prouty bristol@ez-mortgage.com Associated Messages, from the most recent to the oldest:

    
  1. Re: Dates - Search and Sorting (Kenneth Grome 1999)
  2. Re: Dates - Search and Sorting (Mike_Davis 1999)
  3. Re: Dates - Search and Sorting (PCS Technical Support 1999)
  4. Re: Dates - Search and Sorting (Kenneth Grome 1999)
  5. Re: Dates - Search and Sorting (RH Prouty 1999)
  6. Re: Dates - Search and Sorting (RH Prouty 1999)
  7. Re: Dates - Search and Sorting (RH Prouty 1999)
  8. Re: Dates - Search and Sorting (Howard Wolosky 1999)
  9. Re: Dates - Search and Sorting (Kenneth Grome 1999)
  10. Re: Dates - Search and Sorting (RH Prouty 1999)
  11. Re: Dates - Search and Sorting (RH Prouty 1999)
  12. Re: Dates - Search and Sorting (Kenneth Grome 1999)
  13. Dates - Search and Sorting (RH Prouty 1999)
I am trying to do search that then sorts on a field containing date entries, as shown below. (Dated is the name of my database field)This search find all entries that match the Marker field entry show below. I then want to sort using the Dated field so the date will show in from first date to the last.[search db=my.db&eqMarkerdatarq=c&Datedtype=date&Datedsort=1&Datedsdir=as]This search results show the records found as expected, but the sorting is not happening by date. It seems to be sorting the correct Dated field, but it is seeing them as text not dates. I include the type tag, but it still doesn't see it properly.Thanks for any help.RH Prouty bristol@ez-mortgage.com RH Prouty

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:

2.0 Beta (1997) TCPConnect (2002) Problem with Midnight (2003) [WebDNA] grep again (2010) Verifying and adding new users (1997) credit card authorization question (1997) Multiple serial numbers (1997) my price won't move (1997) AutoCommit Preference? (1998) 2nd try: possible to weight results of grouped fields search? (1998) can WC render sites out? (1997) Credit card types (1997) Links inside of Text Areas (2000) WebCat2b13MacPlugIn - More limits on [include] (1997) database files in secure folder (1997) Random sort is not random at all..... (2000) WebCat.acgi from /cgi-bin/? (1997) WebCat editing, SiteGuard WAS:SiteAssociative lookup style? (1997) emailer w/F2 (1997) with Link i need to (1997)