I have textboxes that become enabled based on a listbox so users can enter data. However, I'd like them to stay not enabled if no text is inputted. The code I have in the "current" even, makse this happen but only when I move forward through the records. If I move back, the textboxes enabled from other records remain enabled, even if there is no text in them.
Ex. rec 1 has data in txtbox 1
rec 2 has data in txtbox 3
When you move from rec 1 to rec 2 txtbox 1 becomes no enabled since there is no data in it. All good, but when I go from rec 2 to rec 1, txtbox 3 remains enabled when it should be not enabled since there is no text in that box for rec 1.
See attached code:
Ex. rec 1 has data in txtbox 1
rec 2 has data in txtbox 3
When you move from rec 1 to rec 2 txtbox 1 becomes no enabled since there is no data in it. All good, but when I go from rec 2 to rec 1, txtbox 3 remains enabled when it should be not enabled since there is no text in that box for rec 1.
See attached code:
Comment