I have one problem with this coding.
This form is a continuous form and same Sum are being
returned with this coding.
I need to sum all 'actprod' that have same 'deptbudno' or return 0 if null.
right now, every record is returning same "169" where its
only true for a1(deptbudno).
ie. a1 | 169
a2 | 169
etc
Me.txtActProd = DSum("actprod", "tbl_deptprogoalupdate", "deptbudno = '" & Me![txtDeptBudNo] & "'")
do i need to use another method?
This form is a continuous form and same Sum are being
returned with this coding.
I need to sum all 'actprod' that have same 'deptbudno' or return 0 if null.
right now, every record is returning same "169" where its
only true for a1(deptbudno).
ie. a1 | 169
a2 | 169
etc
Me.txtActProd = DSum("actprod", "tbl_deptprogoalupdate", "deptbudno = '" & Me![txtDeptBudNo] & "'")
do i need to use another method?