Bill Bisco
Custom User Title
- Local time
- Today, 17:34
- Joined
- Mar 27, 2009
- Messages
- 92
I've been trying to change my form to be based off of a query that uses DSum rather than Sum. There are 2 tables, tblProcesses and tblElements. Each Process has many Elements.
However, I'm confused on how to reference DSUM to get the same results that I did with using Totals and Sum.
The form that this query will be used for displays several different Processes. I need all the Element times that belong to each particular Process, summed up for that particular Process.
I have tried:
MySum: DSum("ElementTime","tblElements","[Process ID] = Forms!frmProcessSelectLSRS!frmProcessSelectLSSubform.Form.[Process ID] ")
But it's not working. Any help is appreciated.
However, I'm confused on how to reference DSUM to get the same results that I did with using Totals and Sum.
The form that this query will be used for displays several different Processes. I need all the Element times that belong to each particular Process, summed up for that particular Process.
I have tried:
MySum: DSum("ElementTime","tblElements","[Process ID] = Forms!frmProcessSelectLSRS!frmProcessSelectLSSubform.Form.[Process ID] ")
But it's not working. Any help is appreciated.