G
Guest
I have multiple forms with several data input controls that default to zeros.
Calculations are made from these controls and if the zero is deleted the
results error out. In the past I have added to following afterupdate code to
each control to prevent the error.
Private Sub BrokerCredit_AfterUpdate()
If IsNull(BrokerCredit) Then
BrokerCredit = 0
End If
End Sub
Due to the number of these controls I am seeking a way to handle this
without adding an afterupdate event to each control. Is there an easier way?
Any help would be greatly appreciated!
Thanks
Calculations are made from these controls and if the zero is deleted the
results error out. In the past I have added to following afterupdate code to
each control to prevent the error.
Private Sub BrokerCredit_AfterUpdate()
If IsNull(BrokerCredit) Then
BrokerCredit = 0
End If
End Sub
Due to the number of these controls I am seeking a way to handle this
without adding an afterupdate event to each control. Is there an easier way?
Any help would be greatly appreciated!
Thanks