Hi,
Can someone please help on summing up 2 rows and posting the values in a table?
So here i what i have
ImpID P1Hrs P2Hrs P3Hrs P4Hrs
DBD 34 60 56 16
DBC 21 20 38 6
I want to add so the result is
DBD/DBC 55 80 94 22
then post the value above in a main table under P1Tothrs, P2Tothrs, P3Tothrs, P4Tothrs
I've tried the Sum function and it works but i dont know how to get it to append to the main table... I've also tried DSum("P1Hrs","TblImp","ImpId = 'DBD' AND 'DBC'") as an Expression in the query but it returns 34 and not 55
please help!!!!!!!!! Urghhhhh
thanks!
Summer
Can someone please help on summing up 2 rows and posting the values in a table?
So here i what i have
ImpID P1Hrs P2Hrs P3Hrs P4Hrs
DBD 34 60 56 16
DBC 21 20 38 6
I want to add so the result is
DBD/DBC 55 80 94 22
then post the value above in a main table under P1Tothrs, P2Tothrs, P3Tothrs, P4Tothrs
I've tried the Sum function and it works but i dont know how to get it to append to the main table... I've also tried DSum("P1Hrs","TblImp","ImpId = 'DBD' AND 'DBC'") as an Expression in the query but it returns 34 and not 55
please help!!!!!!!!! Urghhhhh
thanks!
Summer