Hello All.
let me start with this; I have a form that consists of mostly checkboxes that have different values. I wanted that everytime i make a checkbox selection it dumps that value on a textbox and so on. I use this code behind the afterupdate on a checkbox:
Code:
Private Sub ChkFail01_AfterUpdate()If Me.ChkFail01 = True Then
Me.ChkSafe01 = False
Me.TxtFails = Me.TxtFails & "; " & Me.CboQuestion01.Column(0)
End If
End Sub
Private Sub ChkFail02_AfterUpdate()
If Me.ChkFail02 = True Then
Me.ChkSafe02 = False
Me.TxtFails = Me.TxtFails & "; " & Me.CboQuestion02.Column(0)
End If
End Sub
so the textbox will get filled with different values depending on the checkboxes.
My question is, is it possible to remove a value that has been entered in the textbox? example, if I question one has 2 check boxes and i select answer 1, so answer one get in the textbox, but then i decided that i want to choose answer 2 instead, is there a way that by choosing answer two answer one will be deleted and replaced with answer 2 in the text box?