S
Spidey3721
Have table called [ProjCosts] ([ProjectID]; [Cost])
Have Query that calls from this table, along with a few others([ProjInfo] to
pull address with [ProjectID] relationship, etc... )
Trying to add a calculated field to this Query (Which I am using as a Report
recordsoucre) that calculates the total [Cost] associated with the current
record's [ProjectID].
So I want each record in the dynaset to show a Project ID, a particular
cost, and then the total project cost....
I have added a field in the query design view, called DSUMTest
DSUMTest: DSUM("[Cost]","[ProjCosts]","[ProjectID]= " &
ProjCosts.ProjectID )
I am getting a blank field when I preview the query.
What could I be doing wrong. I sense that there are some complications with
me trying to use the current record's [ProjectID] value from within the
record itself ? ? ?
Have Query that calls from this table, along with a few others([ProjInfo] to
pull address with [ProjectID] relationship, etc... )
Trying to add a calculated field to this Query (Which I am using as a Report
recordsoucre) that calculates the total [Cost] associated with the current
record's [ProjectID].
So I want each record in the dynaset to show a Project ID, a particular
cost, and then the total project cost....
I have added a field in the query design view, called DSUMTest
DSUMTest: DSUM("[Cost]","[ProjCosts]","[ProjectID]= " &
ProjCosts.ProjectID )
I am getting a blank field when I preview the query.
What could I be doing wrong. I sense that there are some complications with
me trying to use the current record's [ProjectID] value from within the
record itself ? ? ?