Ken Kixmoeller/fh wrote: > Is this VFP 8 or 9? > > If so, unless SET ENGINEBEHAVIOR is 7, the GROUP BY statement still > needs all of the non-calculated fields in the query (or subquery, in > this case) even with your NULL test.
Boy, I WAS tired. I failed to mention that this was a SQL Passthrough to an Oracle database. In any event, I bagged it, went to bed, and looked it over again this morning. My fix was valid, so I ran it and it completed successfuly. Thanks for replying, though! _______________________________________________ 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.

