bayouexpert
asked on
DSum Running Total Date Criteria
After 2 hours of attempting to get the Dsum function to create a running total, I am turning to EE.
The below SQL results in a null value in the running total column. If I remove the criteria from the DSum function, I receive a total, but not a running total. With that said, I obviously have an error in criteria syntax.
SELECT qryProgress_Receive_SJ_Bar e.ReceiveD ate, qryProgress_Receive_SJ_Bar e.[Bare DRL Unloaded], DSum("[Bare DRL Unloaded]","qryProgress_Re ceive_SJ_B are","[Rec eiveDate] <=" & [ReceiveDate] & "") AS [Total Bare DRL Unloaded]
FROM qryProgress_Receive_SJ_Bar e;
The below SQL results in a null value in the running total column. If I remove the criteria from the DSum function, I receive a total, but not a running total. With that said, I obviously have an error in criteria syntax.
SELECT qryProgress_Receive_SJ_Bar
FROM qryProgress_Receive_SJ_Bar
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
PS. You had left off the closing quote after the last # sign. Thanks for the help.