Quantcast
Viewing all articles
Browse latest Browse all 27101

VS 2010 How to check the owner of the form

I have three form purchase,sales and products. products form is an multipurpose form which is used by both purchase and sales.

Now depending on the Owner of the products, it acts accordingly.

To do so i am checking the owner of Products form as

If Me.Owner Is Sales Then
...
ElseIf Me.Owner is Purchase Then
..
End If

But neither of the conditions are getting true.
Plz help me with correct method.

Regards

Viewing all articles
Browse latest Browse all 27101

Trending Articles



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