I failed to ask my entire question on part 1. Although codeorder gave me the answer
I needed I have one more part which I will put in bold.
I have 3 forms: Form1, Form2 and Form99. Form1 and Form2 both call Form99.
What statement(s) does Form99 use to determine which form called it (Form1 or Form2).
Form1 Form99.Show Form2 Form99.Show Form99 Which form called me?
Form1 and Form2 have several textboxes - Let's just say TextBox1 and TextBox2.
By using the field sNameOfForm that codeorder said to use I want to use sNameOfForm
to access TextBox1 and Textbox2 .text property using sNameOfForm for the Form Name.
Instead of coding in Form99:
In other words I want to use the Form Name (sNameOfForm) that was supplied to Form99 and
access the textboxes on either Form1 or Form2 without hardcoding the form name.
Edited 4 Years Ago by mike_2000_17: Fixed formatting