Happy to help. Dave
-----Original Message----- From: ProFox [mailto:[email protected]] On Behalf Of Laurie Alvey Sent: 31 January 2015 08:15 To: ProFox Email List Subject: Re: Running totals (without doing a SCAN) Thanks to all. Dave's method with the self join was what I was after. Laurie On 30 January 2015 at 22:14, Stephen Russell <[email protected]> wrote: > On Fri, Jan 30, 2015 at 3:50 PM, Michael Glassman < > [email protected]> wrote: > > > Not only is "GO m.saverec" infinitely faster than doing a locate or > > seek, but also it will work on unindexed tables and queries. > > ---------- > > > The thought of saving a value for row number is what I find so out of date. > > > If your indexes are not good enough that is the problem. Relying on a > row number to either get more data or update sounds scary. > > -- > Stephen Russell > Sr. Analyst > Ring Container Technology > Oakland TN > > 901.246-0159 cell > > > --- StripMime Report -- processed MIME parts --- multipart/alternative > text/plain (text body -- kept) > text/html > --- > [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] 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/[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.

