I need help with code. I am just learning vb. I have a form named frmCustomers with a subform names subfrmTrans. In the main form I have a check box that I want to control the locking and unlocking of the subform. I can write code that will lock text boxes in the main form, but cannot figure out how to lock the subform. Maybe I am type the code wrong when it comes to locking the subform. Any help will be greatly appreciated.