Code:
Private Function updatevalues()
If IsNull(Me.txtBoats040) = False Then
Val (Me.txtBoats040) * Val(1056) + Val(Nz(Me.txtPartials040, 0)) = ![total_leadbonded]
ElseIf IsNull(Me.txtBoats063) = False Then
Val (Me.txtBoats063) * Val(527) + Val(Nz(Me.txtPartials063, 0)) = ![total_leadbonded]
ElseIf IsNull(Me.txtBoats125) = False Then
Val (Me.txtBoats125) * Val(405) + Val(Nz(Me.txtPartials125, 0)) = ![total_leadbonded]
End If
End Function
that is what i have, but I cant get it to save, i made a new field caleld total_leadbonded, where i want the data to be stored :S