Need cancel-save function on main form for datasheet subform

R

Robert

I have a main form which is unbound, a single-record subform on that (bound
but don't need update here), and a datasheet subform on that. Entries and
updates are made on the datasheet. There is a close button on the main
form. How can I test if any changes have been made on the datahseet and if
the user wants to keep them or not? When you click on the button, the
datasheet is automatically saved, making the dirty condition of the
datasheet false. Is there any way to back out datasheet entries on the main
form other than making the datasheet unbound?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top