Multitasked Command Buttons

ramsay18

New member
Local time
Today, 15:01
Joined
May 13, 2006
Messages
8
Is it possible to have a command button that UNDO's the informations filled out on a form and closes the form?
 
DoCmd.RunCommand acCmdUndo
DoCmd.Close acForm, "MyFormName"

The undo button can be created using the control wizard, but it doesn't use the above method.
 
That didnt work. i used that coding and it still performed the UNDO capabilities but didnt close the form
 
try...

Code:
DoCmd.RunCommand acCmdUndo
DoCmd.Close acForm, Me.Name
 

Users who are viewing this thread

Back
Top Bottom