G
Guest
Good day.
I am trying to and populate a field in the main form "TTLCostCND" by
summing a field in a subform"CostFT. I get the error message Argument not
optional. Any help would be appreciated to achieve this goal
Mainform is called "frmQuotes" - Table is called tblQoutes
Subform is called "frmQuotesSubform" - Table is called tblQuotesSubfrm
Private Sub UOM_AfterUpdate()
Me.CostFT = Round(Me.CCRATE * Me.HRSCft / 100, 4)
Me.Form_frmQuotes!TTLCostCND = DSum(Me.CostFT)
End Sub
Thanks in advance.
I am trying to and populate a field in the main form "TTLCostCND" by
summing a field in a subform"CostFT. I get the error message Argument not
optional. Any help would be appreciated to achieve this goal
Mainform is called "frmQuotes" - Table is called tblQoutes
Subform is called "frmQuotesSubform" - Table is called tblQuotesSubfrm
Private Sub UOM_AfterUpdate()
Me.CostFT = Round(Me.CCRATE * Me.HRSCft / 100, 4)
Me.Form_frmQuotes!TTLCostCND = DSum(Me.CostFT)
End Sub
Thanks in advance.