Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Another Form problem

Status
Not open for further replies.

ionutdinulescu

Programmer
Jun 11, 2002
59
GB
I have a listbox on a form and two buttons : Edit and New
When I press them, a form is opened and I can modify the selected record in the list or I can add a new one.
Now when I press Edit, I pass the ID of the current record to the second form. If I press New, a new record is added in the list and I pass it's ID to the form.
I would like to have the possibility to cancel the changes and also cancel the AddNew when I press the cancel button in the second form. Can this be possible ? Maybe I can use a transaction ?!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top