command button that rest on the main form to control the subform

H

Hackman Chan

Hi,

I have placed an Undo button by using the wizard and placed the button on
the main form. when i edit the data on the main form and press the button,
it works, but if i edit the button on the sub form, it doesn't. besides, if
i just edit the data in the subform, Access tells me that the Undo command is
not available.

what changes should i make so that the Undo function will also work in the
subform?

Best regards,
Hackman
 
S

Svetlana

When you click the undo button that is placed to the mainform the data
in the subform is already updated so undo is not possible to work. Try
to create an undo button to the subform too and see if it works before
moving to the main form.
 
Top