Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21088

How to find where form was called from

$
0
0
Hi,

I have 3 forms, form1, form2, form3

form 3 can be called from forms 1 and 2 but it loads different information depending on the form it was called from.
I need to do something like this

in the form load function of form 3

if loaded from form 1
'do something
else
if loaded from form 2
'do something else.

Would really appreciate any help with this!

Thanks!

Viewing all articles
Browse latest Browse all 21088

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>