Cancel or Undo in subform

G

Guest

I've created a subform for my standard buttons such as Save, Cancel/Undo,
Search, etc. However the Cancel/Undo button doesn't work properly because
the Main form first updates (and triggers the BeforeUpdate event which makes
undo unavailable.

So, How do I create an Undo button in a button subform that works properly
before updating the main form?
OR How do I reference that the Undo button has been pressed in the subform
in my main form BeforeUpdate event so I can do the undo before the update?
 
S

Steve Schapel

Cosmic,

As far as I know, this is not possible. The main form record will
always be saved before the focus moves to the subform. You will need to
put the buttons directly on the main form itself.
 

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