Design by Sue
Registered User.
- Local time
- Yesterday, 17:06
- Joined
- Jul 16, 2010
- Messages
- 654
I need to hide my subform on load or open of the main form but am experiencing some weird results. I have tried putting Me.SubForm.Form.Visible = False in both the on open and the on load of the main form and it works only if the tables on which the subform have records in them. If the tables for the subforms are empty I get an error 2467 telling me that "The expression you entered refers to an object that is closed or doesn't exist." I find this strange because from all I can find the subform loads first.
How can I hide the subform when the main form opens no matter what records exist or don't??
Sue
How can I hide the subform when the main form opens no matter what records exist or don't??
Sue