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 = CharlesTry writing your SORT info in another way:&deLEAD_RANKsort=1&asLEAD_DATEsort=2&asLEAD_NAMEsort=3&LEAD_DATEtype=date&LEAD_RANKtype=numObviously 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:
CharlesTry writing your SORT info in another way:&deLEAD_RANKsort=1&asLEAD_DATEsort=2&asLEAD_NAMEsort=3&LEAD_DATEtype=date&LEAD_RANKtype=numObviously 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:
WebCat2b13MacPlugIn - More limits on [include] (1997)
[WebDNA] Strange happenings (2012)
[WebDNA] XML Help (2009)
writing db to disk (1997)
WC2.0 Memory Requirements (1997)
WebDNA-Talk Digest mode broken (1997)
Fun with Dates - revisited (1997)
Problem with SendMail (2007)
Running 2 two WebCatalog.acgi's (1996)
Variables for chat (1997)
stumped (2001)
2.0 Info (1997)
Passing a search through a form (2003)
Sub Categories (2000)
Credit Card Checksum (1997)
WebCat2b13MacPlugIn - [include] doesn't allow creator (1997)
Sort & Shownext (1999)
UH OH (1999)
Emailer Set Up (1997)
OH CRAP!!!!!- Template not found error!!! (1999)