>Sounds like you're going to have to check for null NVL() which in help says;
>Use NVL( ) to remove null values from calculations or operations where null values are not supported or are not relevant.
>
>Steve
I'll try that, and there are a couple of other things to try too, but that still boils done to kludging. What really bothers me is that it worked just fine in 5.0.
Thanks -
Dan LeClair
www.cyberwombat.comSET RANT ON - The Wombat BlogLife isn’t a morality contest and purity makes a poor shield. - J. Peter MulhernDisclaimer: The comments made here are only my OPINIONS on various aspects of VFP, SQL Server, VS.NET, systems development, or life in general, and my OPINIONS should not be construed to be the authoritative word on any subject. No warranties or degrees of veracity are expressed or implied. Void where prohibited. Side effects may included dizziness, spontaneous combustion, or unexplainable cravings for dark beer. Wash with like colors only, serve immediately for best flavor.