Hi everybody,
There is a textbox in my form (frm_01) for entering numeric values (%). I also want to put beside it a checkbox (chkb_not_reported) which if checked, changes the textbox value (and corresponding table field) into -99.
The textbox is bound to a table field, the checkbox is unbound (not sure if this is correct). I tried a few checkbox events to force the value to change, e.g.:
But none of them worked (other events I tried: Enter, Click, Exit).
Could anyone help me with this?
Thanks,
Alex
There is a textbox in my form (frm_01) for entering numeric values (%). I also want to put beside it a checkbox (chkb_not_reported) which if checked, changes the textbox value (and corresponding table field) into -99.
The textbox is bound to a table field, the checkbox is unbound (not sure if this is correct). I tried a few checkbox events to force the value to change, e.g.:
Code:
Private Sub chkb_not_reported_AfterUpdate()
If chkb_not_reported.Value = 1 Then
txb_percent.Text = "-99"
txb_percent.Value = -99
End If
Form_frm_01.Repaint
End Sub
But none of them worked (other events I tried: Enter, Click, Exit).
Could anyone help me with this?
Thanks,
Alex