Form to Form

  • Thread starter Thread starter DotNetJunkies User
  • Start date Start date
D

DotNetJunkies User

Hi all,

I'm trying to create a program that has two forms. One form is a search and is up and running. The other form is a edit/save info form. I do a search on the one form and it generates a datagrid with the matching criteria. I place that in a text box on the same search form. I need to get that number from that text box to a text box on the edit/save info form. Any help will be greatly appreciated.

Thanks,

MD
 
In VB6 there was an open forms collection i.e. everytime you opened a form
it was added to a collection of open forms. This made it easy to reference
any open form using the syntax Forms!Form1. This is not the case in VB.Net;
there is no open forms collections (this will change in VB.Net 2.0,
currently in Beta).

So in your search form you need to open the info form. Then use that
variable to refernce it when needed.


DotNetJunkies User said:
Hi all,

I'm trying to create a program that has two forms. One form is a search
and is up and running. The other form is a edit/save info form. I do a
search on the one form and it generates a datagrid with the matching
criteria. I place that in a text box on the same search form. I need to
get that number from that text box to a text box on the edit/save info form.
Any help will be greatly appreciated.
Thanks,

MD
engine supports Post Alerts, Ratings, and Searching.
 
Back
Top