Binding a control to a business object...
Posted on 1998-12-29
I have a database application in which I am binding a number of controls in MDI forms to a business object. The save button (or menu item) is on the MDI parent form and when it is hit, all items are saved to the business object (and then the database).
My problem is, when the user edits a field and leaves the cursor in that field (does not press TAB) and clicks on the 'Save' button or menu item, all the changes are made except fot the last change (or the field in which the user was editing upon clicking 'Save'). This sounds trivial to me but I cannot for the life of me figure it out. The values do not appear to bind to the object until a TAB is pressed. Is there a quick 'Save' update all values?