bs0d
Well-known Member
- Joined
- Dec 29, 2006
- Messages
- 622
I have this function to show a running total through time for a specific id:
How might I modify this to instead show the running total of a group of items that share a common group name from another table? Say the table was "tblItemProperties" and the desired field is "exampleGroup" ? (There would be an INNER JOIN on Item_KEY)
Finally, I'd also like to see how it would look if I needed to expand that more to those items that match an "exampleGroup" and "exampleSubGroup".
Thanks!
Code:
Data_CUM: DSum("Sales","tblDailySales","[Item_KEY]=" & [Item_KEY] & " And [ReadingDate]<=#" & [ReadingDate] & "#")
How might I modify this to instead show the running total of a group of items that share a common group name from another table? Say the table was "tblItemProperties" and the desired field is "exampleGroup" ? (There would be an INNER JOIN on Item_KEY)
Finally, I'd also like to see how it would look if I needed to expand that more to those items that match an "exampleGroup" and "exampleSubGroup".
Thanks!