Check contents of VB form for changes
Posted on 2013-10-31
I have a VB2010 form that has a few text boxes, a couple of combo boxes, a TrueDBGrid and some datetimepickers.
I am using a dataset with several tables to databind the above. All works fine. But, very importantly I need to check if the user changes any of the data so I can increase a revision number. If they just go and look then no revision increases.
I have tried textbox_leave and textbox modified event to set a boolean flag which seems to work but the datetimepicker or the combo boxes, truegrid don't have this event.
I struggled with using the dataset Haschanged and Getchanges but I cannot get these to work