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:
[WebDNA] Strange error (2014)
RE: Remote delivery (1998)
[shownext max=?] armed (1997)
AppleScript Error (2001)
Unzip (2005)
addlineitems (2003)
Anyone running communigate (2001)
Free WebDNA snippets (Extending WebCatalog) (1997)
RE: PIXO support (1997)
Date search - yes or no (1997)
# fields limited? (1997)
GuestBook example (1997)
WebDNA Solutions ... sorry! (1997)
Not really WebCat (1997)
Snake Bites (1997)
RE: Shopping Cart Questions (1998)
Answer: WebDelivery downloads alias, not original ? (1997)
WebCat cannot handle compatible search parameters? (1997)
[WebDNA] Advices for Linux Config (2017)
WebCat Contest Now: Encrypt and Sell (1998)