Hi,
I have a form that uses a subform as well.
On the 'Form_Open' event of my main form, I use VBA to set all 'Condition' list boxes to values 1 through 5. My subform also has 'Condition' list boxes. But where do I set these values for my subform? In the Form_open event of my main form, or in the form_open event of the subform? (or somewhere else?). I have tried setting them in the Form_open event of my main form, but get an error. Can someone also please verify, depending on location of the code, how to reference the fields on the subform, which has as a table as its control source.
THANK YOU!
Lori
I have a form that uses a subform as well.
On the 'Form_Open' event of my main form, I use VBA to set all 'Condition' list boxes to values 1 through 5. My subform also has 'Condition' list boxes. But where do I set these values for my subform? In the Form_open event of my main form, or in the form_open event of the subform? (or somewhere else?). I have tried setting them in the Form_open event of my main form, but get an error. Can someone also please verify, depending on location of the code, how to reference the fields on the subform, which has as a table as its control source.
THANK YOU!
Lori