A
Alex
I have the following code in a button on my form that I use to set the
contents of the fields, BT, BT1, BT2, BT3 to null. I have since given these
fields a default value of 0 (zero) in the underlying table. Now I need the
button, when clicked, to set the fields back to 0. When I use Me.BT = 0,
they are still set to null. Can you please tell me how to set the fields to
0? Thanks much!
Private Sub ClearBreakthrough_Click()
Me.BT = Null
Me.BT1 = Null
Me.BT2 = Nul
Me.BT3 = Null
End Sub
contents of the fields, BT, BT1, BT2, BT3 to null. I have since given these
fields a default value of 0 (zero) in the underlying table. Now I need the
button, when clicked, to set the fields back to 0. When I use Me.BT = 0,
they are still set to null. Can you please tell me how to set the fields to
0? Thanks much!
Private Sub ClearBreakthrough_Click()
Me.BT = Null
Me.BT1 = Null
Me.BT2 = Nul
Me.BT3 = Null
End Sub