I am instantiating a form by double-clicking on a row in a listview control. The values from the listview row are sent to the instantiated form as variables, not as a dataset. My goal is to allow the user to edit and save changes for that record while in the instantiated form and have those changes reflected in the calling form's listview control. I thought raising an event after the save routine to update the calling form's listview control would do the trick. However, it appears that to allow the instantiated form to raise that event the instantiated form cannot be declared in the double-click event of the listview control, where I want it. Is there a way to make changes within the instantiated form and have the listview control on the calling form reflect those changes without destroying either form? Any help would be appreciated.




Reply With Quote