Re: format search comparison Q
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 34592
interpreted = N
texte = >> I said:>> The following search returns the correct answer ONLY if the variable>> __wordCount is equal to BOTH MIN_DAYS and MAX_DAYS. If __wordCount falls>> between the two numbers, numfound is 0.>> >> [search>> db=rates.db&geMIN_DAYSdatarq=[__wordCOUNT]&leMAX_DAYSdatarq=[__wordCount]]>> [founditems][RATE][/founditems]>> [/search]>> SM Tech Support said:> Are MIN_DAYS and MAX_DAYS both numeric fields? If so, make sure you> add MIN_DAYStype=num&MAX_DAYStype=numYup, that did it. I didn't see that in the docs, then after reading youremail, I scoured the docs again. The way it's written, I interpreted that tomean that type=xxx only applies to the range (rn) comparison, since it's inthat part of the docs. I see how it applies to everything.Thanks!Steve------------------------------------------------Steven JarvisWeb Developersjarvis@nwaonline.netMorning News of Northwest Arkansashttp://www.nwaonline.net-------------------------------------------------------------------------------------------------------------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://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
>> I said:>> The following search returns the correct answer ONLY if the variable>> __wordCount is equal to BOTH MIN_DAYS and MAX_DAYS. If __wordCount falls>> between the two numbers, numfound is 0.>> >> [search>> db=rates.db&geMIN_DAYSdatarq=[__wordCOUNT]&leMAX_DAYSdatarq=[__wordCount]]>> [founditems][RATE][/founditems]>> [/search]>> SM Tech Support said:> Are MIN_DAYS and MAX_DAYS both numeric fields? If so, make sure you> add MIN_DAYStype=num&MAX_DAYStype=numYup, that did it. I didn't see that in the docs, then after reading youremail, I scoured the docs again. The way it's written, I interpreted that tomean that type=xxx only applies to the range (rn) comparison, since it's inthat part of the docs. I see how it applies to everything.Thanks!Steve------------------------------------------------Steven JarvisWeb Developersjarvis@nwaonline.netMorning News of Northwest Arkansashttp://www.nwaonline.net-------------------------------------------------------------------------------------------------------------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://search.smithmicro.com/
Steven Jarvis
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:
Apoligy (1997)
Multiple searches on a single page / random record from full database? (1999)
Logout? (1998)
A Global Variable (1997)
WebCat2: multiple currency support (1997)
PSC recommends what date format yr 2000??? (1997)
Fwd: Problems with Webcatalog Plug-in (1997)
Nested tags count question (1997)
many-to-one problem (1998)
checking for [ and ] in form fields ... (1997)
port 16080 problem (2003)
Document Contains No Data! (1997)
authorizenet (2002)
WebCat2b15MacPlugin - showing [math] (1997)
Running _every_ page through WebCat-error.html (1997)
color and size options / ARCHIVES (1997)
any idea (2004)
OT:Programming Languages are Like Women (2004)
Limiting [FoundItems] (2000)
in conversions.db crashes unix webcat (1999)