Have an unbound combo box which by default is not visible. When the user clicks on an "EDIT" button the combo box becomes visible using the following bit fo code:
The opposite happens if the record is changed (On Current) or the user clicks on a "LOCK" button:
The EDIT and LOCK buttons work fine, however using the same bit of code does not work in the On Current event. The odd thing is I have another similar combo box and it works fine for that one. Also if proceed to a new record and then go back the On Current events works. Clicking the LOCK button also doesn't work after changing records, but only on that specific unbound combo box.
Any ideas as to what's happening?
Thanks.
Code:
Forms![Frm_Main]![Subform_Capacity].Form![Cmb_RangeSelector].Visible = True
Code:
Forms![Frm_Main]![Subform_Capacity].Form![Cmb_RangeSelector].Visible = False
Any ideas as to what's happening?
Thanks.