I will second Alan's suggestion to use SQL in place of the xBase CALCULATE function. I was also going to ask if you possibly had some wonky data but that seems less likely considering the magic number 32, or is that 33...
-- rk -----Original Message----- From: ProfoxTech [mailto:profoxtech-boun...@leafe.com] On Behalf Of Alan Bourke Sent: Friday, November 22, 2013 10:49 AM To: profoxt...@leafe.com Subject: Re: Reproduceable C5 error C5 for me too, FWIW. Could you build an SQL-Select as 'select sum(npayamnt) as nPayamnt ... ' into a cursor, then 'Scatter Name loTotals' from the cursor, and then work with loTotals? _______________________________________________ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/DF1EEF11E586A64FB54A97F22A8BD04422968FB7D0@ACKBWDDQH1.artfact.local ** 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.