Re: date search not working when type=date specified
This WebDNA talk-list message is from 2007
It keeps the original formatting.
numero = 69189
interpreted = N
texte = The answer to your problem is probably due to the dates not formatted in mm/dd/yyy ie no leading zeros04/01/2007&04/31/2007On 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:
The answer to your problem is probably due to the dates not formatted in mm/dd/yyy ie no leading zeros04/01/2007&04/31/2007On 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:
Is WebCat 3.0 necessary for calculating shipping? (2000)
Putting together a econimic server (2004)
WebCat and WebTen 2.0 (1997)
[WebDNA] [OT] Apple iPad (2010)
how to do multiple prices/item? (1998)
Netscape (1997)
[CART] (1997)
WSDL Wizard (2003)
Timeout question .. (2003)
Searching multiple Databases (1997)
WCS Newbie question (1997)
Question about replacing words (1998)
Emailer Question (1998)
Setting up shop (1997)
Shell script within a sandbox (2005)
Disappearing data (2002)
Getting Emailer to send mail (1997)
[WebDNA] Enhancements to "list" contexts ... (2015)
Site Search Suggestions (2004)
Re1000002: Setting up shop (1997)