A2003 on WinXP
I have several tables: table1 which is linked to multiple entries in table2, each record of which is linked to table3. Therefore, I have forms like: Form1 (with subform) which links to Form2 (with subform) which links to Form3.
So, if the user opens Form3, I need to make sure Forms1 and Forms2 are open first. IF they are not open, Form3 needs to display an error message, then close.
- Which event in Form3 do I use to check for the other forms? Form_Open, Form_Activate? Something else?
- What code do I use to see if a form is open?
Thanks.
I have several tables: table1 which is linked to multiple entries in table2, each record of which is linked to table3. Therefore, I have forms like: Form1 (with subform) which links to Form2 (with subform) which links to Form3.
So, if the user opens Form3, I need to make sure Forms1 and Forms2 are open first. IF they are not open, Form3 needs to display an error message, then close.
- Which event in Form3 do I use to check for the other forms? Form_Open, Form_Activate? Something else?
- What code do I use to see if a form is open?
Thanks.
Last edited: