On Oct 30, 2006, at 12:57 PM, Bart Pietercil wrote:
On 30-okt-06, at 20:32, Norman Palardy wrote:
Some database do extend the standard db api and add an isnull so
you can test this
In the RB language integers cannot be "nil" so you always get a
valid value regardless of what it is in the database
Other intrinsic types work like this as well
Is that the case for RealSQL Databases ? Does it return null and
does RB then cast it to 0, but then how would you differentiate
between the two ?
That's a good question
You could use the Type of the value like
rs.idxField(1).Value.Type
and you may get a nil indication that way
I'm not sure if all databases support this
Is this worth a feature request or is it easy to workaround? Maybe
it's already been asked for a thousand times?
It has been asked for ...
http://realsoftware.com/feedback/viewreport.php?reportid=weqyuiju
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>