Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   Visual Basic .NET (http://www.programmingforums.org/forum19.html)
-   -   Calling form (http://www.programmingforums.org/showthread.php?t=15364)

Jabo Mar 7th, 2008 7:51 AM

Calling form
 
I have a form for entering transactions into a database. It will be called by two different forms, a checking form and a savings form. How do I know which form called up this form? Form.parent would only be for MDI forms, right? Do I have to make my own global variable to track this?

OpenLoop Mar 7th, 2008 11:33 AM

Re: Calling form
 
Quote:

Originally Posted by Jabo (Post 142178)
Do I have to make my own global variable to track this?

Probably. see Method 7:
http://www.devcity.net/Articles/94/1/.aspx

Jabo Mar 7th, 2008 4:08 PM

Re: Calling form
 
Thanks Loop, I was afraid of that.


All times are GMT -5. The time now is 2:17 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC