Sytze de Boer wrote: > Can I SUM data without changing the record position > > e.g > I'm on row 10 in a 20 record table > I issue the command SUM ALL AMOUNT TO MY_TOTALS > But I son't want to shift the record position > > (I know I could do it as follows, but is there an alternate?) > istartonrow=recno() > SUM ALL AMOUNT TO MY_TOTALS > go istsrtonrow >
Don't forget too that you can do a SQL-SELECT with the WITH BUFFERING=.T. clause. See the help docs for specifics. -- Mike Babcock, MCP MB Software Solutions, LLC President, Chief Software Architect http://mbsoftwaresolutions.com http://fabmate.com http://twitter.com/mbabcock16 _______________________________________________ Post Messages to: ProFox@leafe.com 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/4a62b29f.3010...@mbsoftwaresolutions.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.