Hi All,
I need to pass a parameter from one form to another.
For example, suppose I have a form containing a grid control that gives me a list of customers.
I would like to click on one of the rows and open a new form to display all the customer's details.
If I pick up the CustomerId field from the grid, I can pass it as a parameter to the second form and use it to filter my dataset.
I was wondering which is the correct 'OO' way to accomplish this.
Many thanks,
MercEng
I need to pass a parameter from one form to another.
For example, suppose I have a form containing a grid control that gives me a list of customers.
I would like to click on one of the rows and open a new form to display all the customer's details.
If I pick up the CustomerId field from the grid, I can pass it as a parameter to the second form and use it to filter my dataset.
I was wondering which is the correct 'OO' way to accomplish this.
Many thanks,
MercEng