PDA

Click to See Complete Forum and Search --> : PROBLEM WITH CANCELUPDATE ....


yskit
Oct 10th, 1999, 02:49 AM
Hi,

I have a problem with the use of cancelupdate of Recordset object.I built a data entry application will make use of the ado data model.There are several text boxes on the form that allow the user to enter data such as customer name, address and so on.And these text boxes are bound to the data environment designer.My application works like this......

The user can navigates the recordset through the move previous,move last , move next and move next command button on the screen.If the modify the data in the text boxes and move to the next record without saving the changes then the application will ask whether the use will want to save the changes or undo the changes.IF the user want to undo the changes,then the changes made by the user won't be saved in to the recordset and the original record remains unchanges.But by making use the cancelupdate method,it won't work.............The changes made by the user still be saved into the recordset after the user move to the next record .............!!!

Please help me to solve the problem......?
Thank you