Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Mar 7th, 2008, 7:51 AM   #1
Jabo
Not a user?
 
Join Date: Sep 2007
Posts: 256
Rep Power: 2 Jabo is on a distinguished road
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?
Jabo is offline   Reply With Quote
Old Mar 7th, 2008, 11:33 AM   #2
OpenLoop
Expert Programmer
 
OpenLoop's Avatar
 
Join Date: May 2005
Location: East Lansing, MI
Posts: 663
Rep Power: 4 OpenLoop is on a distinguished road
Re: Calling form

Quote:
Originally Posted by Jabo View Post
Do I have to make my own global variable to track this?
Probably. see Method 7:
http://www.devcity.net/Articles/94/1/.aspx
OpenLoop is offline   Reply With Quote
Old Mar 7th, 2008, 4:08 PM   #3
Jabo
Not a user?
 
Join Date: Sep 2007
Posts: 256
Rep Power: 2 Jabo is on a distinguished road
Re: Calling form

Thanks Loop, I was afraid of that.
Jabo is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Show or hiding forms/modifying control properties ..from different a form.. cloud- C# 4 Nov 10th, 2006 10:51 AM
Form Submit Blues MegaArcon Python 3 Dec 14th, 2005 4:20 PM
.NET Timer Form closing issue MBirchmeier C# 4 Nov 21st, 2005 10:00 AM
entering data into excel from a form glevine Perl 1 Nov 18th, 2005 5:03 PM
Can't open a different form... HappyTomato C# 2 Jul 18th, 2005 8:03 AM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 9:49 AM.

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