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:
Credit Card Number checking (1997)
Cookie Newbie (2002)
month or year from date field in lineitems? (1998)
Summary search -- speed (1997)
[WAY OFF TOPIC] anybody live in Kansas? (2003)
AppleScript does not work properly ... (2000)
access denied problem (1997)
[WebDNA] Anyone knows how to shell reboot? (2013)
using showpage and showcart commands (1996)
OT- Move SQL DB's (2004)
[shownext] and descending order (1997)
WebCat2b13MacPlugin - [math][date][/math] problem (1997)
WebCat2b13MacPlugIn - [include] doesn't allow creator (1997)
RE: Nt's Latest? (1997)
[CART] inside a [LOOP] (1997)
[writefile] (1997)
replacing items in a db (2000)
[Sum] function? (1997)
OT: PDA Browser Emulator (2006)
multi-paragraph fields (1997)