01-01-2009, 02:15 AM
Code:
Private Sub chkServerLog_Click()
' if its not 0, then its true
If Not chkServerLog.Value Then
ServerLog = True
Else
ServerLog = False
End If
End Sub
Wouldn't it be simpler to just see if it's checked, rather than toggle a boolean when it's checked? Rather than seeing if the ServerLog = True or false, why not just have it as
Code:
If frmserver.chkserverlog.value = 1 Then
DoCode
Am I missing something obvious?