Hello!
I have a form with a few bound fields representing a record. In the header I have an unbound checkbox (which has no function as of yet). The form has the OnOpen-code below
to give the checkbox a well defined value when the window is opened.
If I open the form directly as "Form view", the checkbox is cleared when the window is opened. However, if I first open the window in "Design mode" and then change to "Form mode", the checkbox's "V"-surface turns into a chessboard (I think it represent "NULL". The control is not diabled).
Any ideas or explanations for this? I use access 2003
I have a form with a few bound fields representing a record. In the header I have an unbound checkbox (which has no function as of yet). The form has the OnOpen-code below
Code:
Private Sub Form_Open(Cancel As Integer)
MsgBox "Form_Open occured"
Form_frmEditUser.chbIncludeArchivedUsers.Value = False
End Sub
If I open the form directly as "Form view", the checkbox is cleared when the window is opened. However, if I first open the window in "Design mode" and then change to "Form mode", the checkbox's "V"-surface turns into a chessboard (I think it represent "NULL". The control is not diabled).
Any ideas or explanations for this? I use access 2003