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

need help...pls repl

you can do this with the help of Rollback Method

Try This:-

Conn.RollbackTrans

hope this helps you . . .

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.