Re: date search not working when type=date specified

This WebDNA talk-list message is from

2007


It keeps the original formatting.
numero = 69186
interpreted = N
texte = Charles Try writing your SORT info in another way: &deLEAD_RANKsort=1 &asLEAD_DATEsort=2 &asLEAD_NAMEsort=3 &LEAD_DATEtype=date &LEAD_RANKtype=num Obviously don't include the line breaks. Just a little shorter and keeps things together. This method is undocumented but it does work :) On 24 Jul 2007, at 2:26 PM, Charles Kline wrote: > Hey all. > > Got a weird date search problem: > > [search db=db/leads.db&eqREP_IDdatarq=0&rnLEAD_DATEdatarq=4/1/2006 > 4/31/2006&LEAD_RANKsort=1&LEAD_RANKsdir=de&LEAD_DATEsort=2&LEAD_DATEsd > ir=as&LEAD_NAMEsort=3&LEAD_NAMEsdir=as&LEAD_RANKtype=num&LEAD_DATEtype > =date] > > Does NOT return any records. (it should) > > [search db=db/leads.db&eqREP_IDdatarq=0&rnLEAD_DATEdatarq=4/1/2006 > 4/31/2006&LEAD_RANKsort=1&LEAD_RANKsdir=de&LEAD_DATEsort=2&LEAD_DATEsd > ir=as&LEAD_NAMEsort=3&LEAD_NAMEsdir=as&LEAD_RANKtype=num] > > Does return the requested records, in the proper date range, but > the sort does not work (due to the fact it is missing > LEAD_DATEtype=date). > > Any ideas? > > - Charles > > ------------------------------------------------------------- > 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 digest@talk.smithmicro.com> > 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: date search not working when type=date specified ( Charles Kline 2007)
  2. Re: date search not working when type=date specified ( Charles Kline 2007)
  3. Re: date search not working when type=date specified ( Charles Kline 2007)
  4. Re: date search not working when type=date specified ( Terry Wilson 2007)
  5. Re: date search not working when type=date specified ( Chris 2007)
  6. Re: date search not working when type=date specified ( thierry 2007)
  7. Re: date search not working when type=date specified ( Stuart Tremain 2007)
  8. Re: date search not working when type=date specified ( Gary Krockover 2007)
  9. Re: date search not working when type=date specified ( Donovan Brooke 2007)
  10. Re: date search not working when type=date specified ( Stuart Tremain 2007)
  11. date search not working when type=date specified ( Charles Kline 2007)
Charles Try writing your SORT info in another way: &deLEAD_RANKsort=1 &asLEAD_DATEsort=2 &asLEAD_NAMEsort=3 &LEAD_DATEtype=date &LEAD_RANKtype=num Obviously don't include the line breaks. Just a little shorter and keeps things together. This method is undocumented but it does work :) On 24 Jul 2007, at 2:26 PM, Charles Kline wrote: > Hey all. > > Got a weird date search problem: > > [search db=db/leads.db&eqREP_IDdatarq=0&rnLEAD_DATEdatarq=4/1/2006 > 4/31/2006&LEAD_RANKsort=1&LEAD_RANKsdir=de&LEAD_DATEsort=2&LEAD_DATEsd > ir=as&LEAD_NAMEsort=3&LEAD_NAMEsdir=as&LEAD_RANKtype=num&LEAD_DATEtype > =date] > > Does NOT return any records. (it should) > > [search db=db/leads.db&eqREP_IDdatarq=0&rnLEAD_DATEdatarq=4/1/2006 > 4/31/2006&LEAD_RANKsort=1&LEAD_RANKsdir=de&LEAD_DATEsort=2&LEAD_DATEsd > ir=as&LEAD_NAMEsort=3&LEAD_NAMEsdir=as&LEAD_RANKtype=num] > > Does return the requested records, in the proper date range, but > the sort does not work (due to the fact it is missing > LEAD_DATEtype=date). > > Any ideas? > > - Charles > > ------------------------------------------------------------- > 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 digest@talk.smithmicro.com> > 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/ Stuart Tremain

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 Append problem (B14Macacgi) (1997) Multiple prices (1997) NT or Mac (1997) please unsubscribe me! (2000) anyone interested in doing an open-source WebCatbasedforum? (2002) Getting Emailer to send mail (1997) [include ...] behavior (1997) Bug? (1997) Car Database (2002) check out page (SSL) not loading on Netscape 4.0+ - fixed? (1999) form data submission gets truncated (1997) SERIAL NUMBER PROBLEM *AGAIN*!!! (1998) [WriteFile] problems (1997) Re:2nd WebCatalog2 Feature Request (1996) Newbie problem blah blah blah (1997) Date to days (2002) HTML encoding in URLs (1997) Attn: Bug in GeneralStore example b15 (1997) PCS Frames (1997) Problems with [Search] param - Mac Plugin b15 (1997)