Re: SQLResult chokes on null values?
This WebDNA talk-list message is from 2006
It keeps the original formatting.
numero = 68119
interpreted = N
texte = Are you trying to return just the records that have a NULL value in that field? Forewarning, webdna's native SQL sometimes can be strange.-AdamOlin Lagon wrote:> Heh anyone have problems with SQLResult choking when it gets to a null> value? It just stops rendering a page once it gets to a field where the> value is null. For instance, page stops rendering right after the field is> called on the null value:>> [SQLConnect dbType=MySQL&...&var=conn1][/SQLConnect]>> [SQLExecute conn_ref=conn1&result_var=rs1] select * from TABLE;> [/SQLExecute]>> [SQLResult result_ref=rs1]> [numFound] records found
> [FoundItems]> [the field which has a null value]
> [/FoundItems]> [/SQLResult]>> Any ideas? Thanks! Olin>>> -------------------------------------------------------------> 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/> -------------------------------------------------------------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:
Are you trying to return just the records that have a NULL value in that field? Forewarning, webdna's native SQL sometimes can be strange.-AdamOlin Lagon wrote:> Heh anyone have problems with SQLResult choking when it gets to a null> value? It just stops rendering a page once it gets to a field where the> value is null. For instance, page stops rendering right after the field is> called on the null value:>> [SQLConnect dbType=MySQL&...&var=conn1][/SQLConnect]>> [SQLExecute conn_ref=conn1&result_var=rs1] select * from TABLE;> [/SQLExecute]>> [SQLResult result_ref=rs1]> [numFound] records found
> [founditems]> [the field which has a null value]
> [/FoundItems]> [/SQLResult]>> Any ideas? Thanks! Olin>>> -------------------------------------------------------------> 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/> -------------------------------------------------------------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/
"Adam O'Connor"
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:
Password protect (2000)
SetHeader context (1998)
Using Plug-In while running 1.6.1 (1997)
Carts & cookies (1999)
boldwords (2001)
WebCat Contest Now: Encrypt and Sell (1998)
[WebDNA] Serious sendmail problems in 8.02 and 8.1 (2015)
problems with 2 tags (1997)
problems with WebCat-Plugin (1997)
RE: 2nd WebCatalog2 Feature Request (1996)
FileMaker and WebCat - .hdr OK Merge not OK (1999)
webcat NT (1998)
RE: Formulas.db + Users.db (1997)
Re:Emailer tracking (1997)
re:Clickable maps and WebCatalog? (1996)
Hiding HTML and page breaks (1997)
WebCatalog can't find database (1997)
RE: Questions To Answer (1997)
process SSI (1998)
Setting up WebCatalog with Retail Pro data (1996)