Unanswered: Determine if a form is a sub-form or not
I have a form that can be used either by itself or as a sub-form. I'd like it to determine whether it's been opened as a child and fill out some values.
I've tried doing a check during the child's OnLoad event to determine if the Parent property is null, figuring that if its not a sub-form it would be Null. Well, if I try that it comes back with an error.