This doenst work the way i want:
Private Sub Form_Load()
If IsNull(Form_form.text1) Then
Form_form.chkb.Value = 1 'True doesnt work
Else
Form_form.chkb.Value = 0 ' False doenst work
End If
End Sub
When the form is opened i want to check if a textfield is empty(null) or not. If its empty do no check the checkbox; if not empty do check the checkbox.
Ideas ?
Thanx
Private Sub Form_Load()
If IsNull(Form_form.text1) Then
Form_form.chkb.Value = 1 'True doesnt work
Else
Form_form.chkb.Value = 0 ' False doenst work
End If
End Sub
When the form is opened i want to check if a textfield is empty(null) or not. If its empty do no check the checkbox; if not empty do check the checkbox.
Ideas ?
Thanx