I have form that has a textbox that overlays another Textbox, I am attempting to hide one textbox and make the other visible depending on the checkboxs value = "True" or "False" . I have placed my code on the afterupdate event, but the issue I am having if I click the checkbox on any row , then all textboxs either hide or are visible, I only wish for the relevant record to hide and not all textbox records. Can anybody suggest or explain how to do this if its possible?
So far the code which I thought would work (silly me) is as follows:
So far the code which I thought would work (silly me) is as follows:
Code:
If Me.check_box = True Then
Me![box_OverLay].Visible = True
Me![ShiftAbrevation].Visible = False
Refresh
Else
Me![box_OverLay].Visible = False
Me![ShiftAbrevation].Visible = True
Refresh
End If