I am trying to clear the checkboxes [one for each record] when I close a form so it opens next time with none of them selected.
I have tried 5 or 6 different ways to do this.
=0
=Null
=""
=false
=no
The most recent, below, doesn't work, either.
No errors, just does not clear them.
Private Sub Command11_Click()
On Error GoTo Command11_Click_Err
Me!ThisOne.Value = -1
DoCmd.Close acForm, "frmSplash", acSaveYes
Command11_Click_Exit:
Exit Sub
Command11_Click_Err:
MsgBox Error$
Resume Command11_Click_Exit
End Sub
Help?
I have tried 5 or 6 different ways to do this.
=0
=Null
=""
=false
=no
The most recent, below, doesn't work, either.
No errors, just does not clear them.
Private Sub Command11_Click()
On Error GoTo Command11_Click_Err
Me!ThisOne.Value = -1
DoCmd.Close acForm, "frmSplash", acSaveYes
Command11_Click_Exit:
Exit Sub
Command11_Click_Err:
MsgBox Error$
Resume Command11_Click_Exit
End Sub
Help?