On Thu, Jan 15, 2009 at 6:39 PM, Carl Lindner <[email protected]> wrote:
> Somehow I have always avoided or worked my way around this issue, but..
>
>
>
> select sum(ynet) into cursor temp where..
>
> returns  .NULL.   But  I want a result of zero.
>
>
>
> I tried, n_v1 = iif(temp.sum_ynet = .NULL. , 0, temp.sum_ynet) but that
> returns .NULL.
>
>
>
> How do I spot the .NULL. and get n_v1 = 0?
>
>
>
> Thanks,
>
>
>
> Carl Lindner


Check out ISNULL()

A+
jml


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to