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 --- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html --- _______________________________________________ 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/000001c97738$3d5319e0$b7f94d...@com ** 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.

