Access 2013
Main form called fReqWBS with a checkbox called SiteinIowa.
Continuous sub form called fReqWBSLabor
Field in sub form called CosEstimate, it is calculated after the Hours field is updated...
Private Sub Hours_Afterupdate()
If Forms!fReqWBS.SiteinIowa =True Then
Me.CostEdtimate = round(Me.hours * Me.RateIowa, 2)
Else
Me.CostEdtimate = round(Me.hours * Me.Rate, 2)
End if
End sub
If users enter data and the CostEdtimate is calculated, it does not update the records if the user checks the SiteinIowa box. How can I get it to update the CostEstimate when the box is checked.?
Main form called fReqWBS with a checkbox called SiteinIowa.
Continuous sub form called fReqWBSLabor
Field in sub form called CosEstimate, it is calculated after the Hours field is updated...
Private Sub Hours_Afterupdate()
If Forms!fReqWBS.SiteinIowa =True Then
Me.CostEdtimate = round(Me.hours * Me.RateIowa, 2)
Else
Me.CostEdtimate = round(Me.hours * Me.Rate, 2)
End if
End sub
If users enter data and the CostEdtimate is calculated, it does not update the records if the user checks the SiteinIowa box. How can I get it to update the CostEstimate when the box is checked.?