I have a table with some Yes (-1)/NO (0) fields, i want if a checkbox on a form is checked to assign a Yes (-1) value to the table, if not checked assign No (0)
the below code assigns a Yes value regardless of whether the checkbox is checked or not, what am i missing? please help
If Me.ChkMeasure = Null Then
tblpool![Measure] = False
ElseIf Me.ChkMeasure = False Then
tblpool![Measure] = False
Else
tblpool![Measure] = True
End If
If Me.ChkImprove = Null Then
tblpool![Improve] = False
ElseIf Me.ChkImprove = False Then
tblpool![Improve] = False
Else
tblpool![Improve] = True
End If
the below code assigns a Yes value regardless of whether the checkbox is checked or not, what am i missing? please help
If Me.ChkMeasure = Null Then
tblpool![Measure] = False
ElseIf Me.ChkMeasure = False Then
tblpool![Measure] = False
Else
tblpool![Measure] = True
End If
If Me.ChkImprove = Null Then
tblpool![Improve] = False
ElseIf Me.ChkImprove = False Then
tblpool![Improve] = False
Else
tblpool![Improve] = True
End If