Re: '0' vs. blank
This WebDNA talk-list message is from 2005
It keeps the original formatting.
numero = 61758
interpreted = N
texte = FWIW, doesn't happen on 6.0 IIS 5I don't think it will impact your results, but you might try the following for your search:[search db=scores.db&neSCOREdatarq=[blank]&asSCOREsort=1&SCOREtype=num](making the blank field a requirement to the search and also you weren't giving a sorting order (ascending or descending).By the way, you will get 3 players with that search:ID: 2 Competitor: Comp2 Score: 5ID: 3 Competitor: Comp3 Score: 7ID: 4 Competitor: Comp4 Score: 9GJKAt 03:05 PM 4/13/2005, you wrote:>I did this on WebDNA5.1c on a Redhat box. I was trying to do a search for >blank fields in a results database that looks like this:>>ID COMPETITOR SCORE>1 Comp1 0>2 Comp2 5>3 Comp3 7>4 Comp4 9>5 Comp5>>Comp5 was not in the round, so he didn't score anything. I was using the code>>[search db=scores.db&neSCOREdata=[blank]&SCOREsort=1&SCOREtype=num]>[founditems]....[/founditems]>[/search]>>What returned was a formatted list of 3 players. WebDNA treated the 0 as >a blank value and passed it over. Searching the archives showed just a >few references to 0 = blank, but no patches. Anyone know about a patch or >a simple way around this?>-----------------------------------------------------------------------------------------------------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:
FWIW, doesn't happen on 6.0 IIS 5I don't think it will impact your results, but you might try the following for your search:[search db=scores.db&neSCOREdatarq=[blank]&asSCOREsort=1&SCOREtype=num](making the blank field a requirement to the search and also you weren't giving a sorting order (ascending or descending).By the way, you will get 3 players with that search:ID: 2 Competitor: Comp2 Score: 5ID: 3 Competitor: Comp3 Score: 7ID: 4 Competitor: Comp4 Score: 9GJKAt 03:05 PM 4/13/2005, you wrote:>I did this on WebDNA5.1c on a Redhat box. I was trying to do a search for >blank fields in a results database that looks like this:>>ID COMPETITOR SCORE>1 Comp1 0>2 Comp2 5>3 Comp3 7>4 Comp4 9>5 Comp5>>Comp5 was not in the round, so he didn't score anything. I was using the code>>[search db=scores.db&neSCOREdata=[blank]&SCOREsort=1&SCOREtype=num]>[founditems]....[/founditems]>[/search]>>What returned was a formatted list of 3 players. WebDNA treated the 0 as >a blank value and passed it over. Searching the archives showed just a >few references to 0 = blank, but no patches. Anyone know about a patch or >a simple way around this?>-----------------------------------------------------------------------------------------------------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/
Gary Krockover
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 - nested [xxx] contexts (1997)
{Grouping} Docs (1999)
Date Formats (1997)
Add to Cart & List of Products (1997)
Math, Multiple Equasions and Show/Hide (1998)
Bug Report, maybe (1997)
Max Record length restated as maybe bug (1997)
Has anyone used WebCatalog with CGatePro? (2000)
Nesting WebDNA in JavaScript (2003)
Number searching/formats (1998)
Emailer (WebCat2) (1997)
Running 2 two WebCatalog.acgi's (1996)
Group search doesn't work. (1997)
Spawn doesn't work as advertised ... (2000)
Problems reading files created by WC (1997)
Frames and WebCat (1997)
RE: [WebDNA] File Include HTM (2008)
How to verify email address (1997)
WebMerchant 1.6 and SHTML (1997)
database size? (1997)