Hello,
I need help adding text to a field by using a check box. Not just replacing the current text with the text I coded in.
I would like to click a checkbox and it would input text into my field. Then if I click another checkbox, it will add the addtional text right after my previous text.
Your help would be greatly appreciated. Thanks! -Jenny
I need help adding text to a field by using a check box. Not just replacing the current text with the text I coded in.
Code:
Private Sub CheckBoxName_AfterUpdate()
If Me![CheckBoxName].Value = False Then Me![FieldName] = Null
If Me![CheckBoxName].Value = True Then Me![FieldName] = "text"
DoCmd.RunCommand acCmdRefresh
End Sub
I would like to click a checkbox and it would input text into my field. Then if I click another checkbox, it will add the addtional text right after my previous text.
Your help would be greatly appreciated. Thanks! -Jenny