Hello Discussion Group,
I want to open a new form and I have a problem to get a reference on the new form. First I tried something like this:Forms.OpenFormByKey("4", null); Form myForm = GetFormFromUID(Application.Forms.ActiveForm.UniqueID);
But sometimes another form is on top an I got the wrong form. In the internet are tips like:
I think the second parameter is the count of the forms of this type and my newly created form is the last one? But how will I get the form-count for this type?