I have a form and a subform within it. I have several controls in the subform. When i try to access the values of the subform from an event triggered by a control in the subform, i get the error message that the form is not present. for example, what should i do for doin the following stuff. I have a button in the subform and on clicking the button, i want to msgbox the current chosen value from a combo box in the subform.
what should the code be and how do i refer to the combo box in the subform? should i refer it based on the mainform?