I found a solution to this problem as I couldnt get the suggested microsoft
solution to work with a parameter in the inner queries.
sql:
SELECT Pro.[Week Commencing], Pro.[Total Bookings], (Select Sum(Pro1.[Total
Bookings]) from Qrygetweeklycountofdosmoduleenrollments Pro1 where
Pro1.[Week Commencing]<=Pro.[Week Commencing]) AS [Running Total]
FROM Qrygetweeklycountofdosmoduleenrollments AS Pro
ORDER BY Pro.[Week Commencing];
Thanks to all those who suggested alternatives.
Regards
Peter
"peter bailey" <pe*********@andaluz.fsbusiness.co.uk> wrote in message
news:41**********************@news.newsgroups.ws.. .
yes the week commencing column is the unique column date
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!