I have a mdi parent (frmParent) and a child (frmChild). On the child is a tabcontrol with 2 tabs. On each tab are datasets: tab1 has textboxes bound to ds1 and ds2; tab2 has textboxes bound to ds3 and ds4.
I have no problem with individual save buttons on each tab page to check for changes and then update the database. My problem is using the Save on frmParent. I want a "master" save button that will check for all the respective tab pages.
I know how to identify the active child form, e.g., Dim f as Form = me.ActiveMdiChild. How do I identify programmically what datasets are associated with what tab page? Somehow I need to cycle through each tab page, check whatever datasets are on it, and update as needed.
Can you help?