This is driving me nuts. I have a qry that returns a running sum, but the numbers sometimes skip a value, and it's not always the same value that it skips:
SELECT x.Points, x.[PlayerID], x.Eventdt, (SELECT Count(*) FROM tbl_Data WHERE Points < X.Points OR (Points = X.Points AND [PlayerID]<= X.[PlayerID])) AS c_CumPointsCount FROM tbl_Data AS x
ORDER BY 1, 2;
I see the problem when scrolling the qry results - the file is about 20k records - I think I may have read about this a while back somewhere, but my mind is drawing a blank.
Anybody have any suggestions?
Thanks
SELECT x.Points, x.[PlayerID], x.Eventdt, (SELECT Count(*) FROM tbl_Data WHERE Points < X.Points OR (Points = X.Points AND [PlayerID]<= X.[PlayerID])) AS c_CumPointsCount FROM tbl_Data AS x
ORDER BY 1, 2;
I see the problem when scrolling the qry results - the file is about 20k records - I think I may have read about this a while back somewhere, but my mind is drawing a blank.
Anybody have any suggestions?
Thanks