G
Guest
I am trying to change the default value of a checkbox using code and am
having problems. The following code changes the checked property but when I
start the form up again, the default is back to the original. What am I doing
wrong?
Private Sub Form_Unload(Cancel As Integer)
Dim ctrCheckIt As Control
Set ctrCheckIt = Me.chkTestIt
ctrCheckIt.DefaultValue = False
End Sub
having problems. The following code changes the checked property but when I
start the form up again, the default is back to the original. What am I doing
wrong?
Private Sub Form_Unload(Cancel As Integer)
Dim ctrCheckIt As Control
Set ctrCheckIt = Me.chkTestIt
ctrCheckIt.DefaultValue = False
End Sub