Is there a property or method that can be used to determine if a form has a parent or not? If I make any reference to frm.Parent it triggers an error if the form does not have a parent.
I'd like to make my subforms have a different background color than my forms (dynamically with code, not by setting properties). But I prefer to do it without triggering an error.
Thanks,
Jim
I'd like to make my subforms have a different background color than my forms (dynamically with code, not by setting properties). But I prefer to do it without triggering an error.
Thanks,
Jim
Comment