Hi,
Am a new bee to Access programming. Am trying to disable the subform from the On_Current event of the main form. And later enable it with the onClick event on a button. But each time I open the form a keep getting the Error message "Application-defined or Object-defined error" .
Below is the code used to reference the subform
Forms![Delegate Details].frmSubCourseRegister.Enable = False
where Delegate Details is the main form and frmSubCourseRegister is the subform
NB:Am working with Access 2003
Tanx for your help
Am a new bee to Access programming. Am trying to disable the subform from the On_Current event of the main form. And later enable it with the onClick event on a button. But each time I open the form a keep getting the Error message "Application-defined or Object-defined error" .
Below is the code used to reference the subform
Forms![Delegate Details].frmSubCourseRegister.Enable = False
where Delegate Details is the main form and frmSubCourseRegister is the subform
NB:Am working with Access 2003
Tanx for your help