Dave Crozier wrote: > Hi Folks, > I just came across what I think is a VFP error and I’m wondering should it > be reported. > > If you group by a field generated by the Date(...) function then VFP throws > an error. > > Could someone confirm this is the same in VFP8 and VFP7 and if it has been > spotted previously as an error. > Hi Dave,
You can also do it with: Select All ; test.date-DAY(test.date)+1 as Sort_Key, ; Sum(Test.nValue) as Column_Value ; From Test ; group by 1 ; Into Cursor curAll ; Order By 1 Peter _______________________________________________ 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.

