warpathmechanic
Registered User.
- Local time
- Yesterday, 19:32
- Joined
- Aug 30, 2011
- Messages
- 11
I have searched here and on Google and just about everywhere else but it seems that I cannot solve this problem:
I have two tables [Sends] and [Sales Data]
One has a date field [Sent Date].[Sends] formatted as "Date/Time" (ex. 01/01/2012)
One has Payment Data [Sales Data].[Payment] formatted as "Currency"
I need to do a running total of Payment based on grouping the month/year of the [Sent Date].[Sends] field. So it should look like (pending word wrap doesn't mess it up):
7/2009 5
7/2009 10
8/2009 6
8/2009 9
8/2009 15
etc.
I had a calculated field that gave me the Month/Year combination in the table [Sends] so my DSum looked like:
but it kept telling me it could not find the parameter 'MonthYear'
Assistance is desperately needed!
Thank you knowledge centers of Access,
Warpath
I have two tables [Sends] and [Sales Data]
One has a date field [Sent Date].[Sends] formatted as "Date/Time" (ex. 01/01/2012)
One has Payment Data [Sales Data].[Payment] formatted as "Currency"
I need to do a running total of Payment based on grouping the month/year of the [Sent Date].[Sends] field. So it should look like (pending word wrap doesn't mess it up):
7/2009 5
7/2009 10
8/2009 6
8/2009 9
8/2009 15
etc.
I had a calculated field that gave me the Month/Year combination in the table [Sends] so my DSum looked like:
Code:
DSum("Payment","Sales Data","MonthYear =" & [MonthYear] & " And Sends.MonthYear <=" & [MonthYear])
but it kept telling me it could not find the parameter 'MonthYear'
Assistance is desperately needed!
Thank you knowledge centers of Access,
Warpath