diablo089
asked on
Share Live Variable Changes Between Form Windows
I'm wondering how to make sure my forms have "live" links to variables in my other forms. I have a datagridview on one form where I make some selections, then I hit a button, and another form pops up displaying that information. If I select the right things on the first form and open the second, all is well. If I forget to select something, or try to change something selected in my datagridview after the second form is opened, the second form does not have the current information. I'm pretty sure I've just got a situation where the second form only "sees" the information from the first form that was present at the time the second form was opened.
How do I best remedy this so that the most up to date information is available to the second form?
How do I best remedy this so that the most up to date information is available to the second form?
How is the second form accessing the information in the datagrid? on the first form
ASKER
In the form of:
(Name of Form).DataGridView1.Rows(i ndex).Cell s("Cell Name").Value
(Name of Form).DataGridView1.Rows(i
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Other option Reffering also to my first comment is to open the second form as dialog..so the user does not have the chance to change something in the first form ..