hi,
i am working on development of a software project. i have used VB6.0 as frontend and MS Access as backend. In my project i have made a form in which i have to add,delete,search,move first,move last,move next and move previous options to keep tack of employee details. I want to know once i hve clicked on command button for "add record" and cancel he operation in between what wil be the code for cancelling add operation.?
how to cancel this operation and return back to display the last recordd?
need help as \soon as possible....thank you in advance

you can do this with the help of Rollback Method

Try This:-

Conn.RollbackTrans

hope this helps you . . .

This article has been dead for over six months. Start a new discussion instead.