Hi all:
I have searched for a solution to this but haven't found quite what I need. I have a report with an OrderNo header and footer. There is an unbound textbox in the detail section which calculates a value using the code below. The code runs at the onformat event of the detail section. Here is the code for the unbound textbox (named txtTtlMin):
If CstDesc = "masking" Then
txtTtlMin = PPMMPP * ReceiptQty
ElseIf CstDesc = "prefinish" Then
txtTtlMin = PPMMPP * ReceiptQty
Else
txtTtlMin = ReceiptQty / PPMMPP
End If
This works fine. What I need to do is calculate the sum of the txtttlmin textbox in the order no footer section. Not sure how to do this. Can anyone help? Thanks.
I have searched for a solution to this but haven't found quite what I need. I have a report with an OrderNo header and footer. There is an unbound textbox in the detail section which calculates a value using the code below. The code runs at the onformat event of the detail section. Here is the code for the unbound textbox (named txtTtlMin):
If CstDesc = "masking" Then
txtTtlMin = PPMMPP * ReceiptQty
ElseIf CstDesc = "prefinish" Then
txtTtlMin = PPMMPP * ReceiptQty
Else
txtTtlMin = ReceiptQty / PPMMPP
End If
This works fine. What I need to do is calculate the sum of the txtttlmin textbox in the order no footer section. Not sure how to do this. Can anyone help? Thanks.