I am having multiple forms with Find button provided. The forms i am having are Contacts.vb and Users.vb, i want to use single Find.vb form for both of these forms. I mean whether a user presses Find button from Contacts.vb or Users.vb the same form should be opened with corresponding data that is fetched from database.
I tried using
Find.Owner = Me from Users.vb but i don't know how can i determine from Find.vb that who is the owner.
I tried to use that if owner of find form is Users.vb then fetch data from users table and if owner is Contacts.vb then fetch data from Contacts table.
Unfortunately i am not able to perform this task.
Please provide any proper solution or any other suggestion to perform this.
Thanks in Advance