Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Visual Basic
Expertise: Beginner
Jun 28, 2000

Retrieving a Value From an Underlying Form

Question:
I have form that has a command button on it, and when it's clicked, it opens another form. I want to be able to set some values on the active form based on the values of the calling form. I can't seem to find in the Help, or any other documentation, how to retrieve a value from an underlying form.

Answer:
For this type of application, I'd suggest creating a public subroutine on the form that does the actual showing of the form. This method lets you pass data into the form before it's shown. Just call the Show method from within the subroutine when you're ready to display the form.

DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date