R ramsay18 New member Local time Today, 15:01 Joined May 13, 2006 Messages 8 May 17, 2006 #1 Is it possible to have a command button that UNDO's the informations filled out on a form and closes the form?
Is it possible to have a command button that UNDO's the informations filled out on a form and closes the form?
S Sergeant Someone's gotta do it Local time Today, 15:01 Joined Jan 4, 2003 Messages 638 May 17, 2006 #2 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.
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.
R ramsay18 New member Local time Today, 15:01 Joined May 13, 2006 Messages 8 May 18, 2006 #3 That didnt work. i used that coding and it still performed the UNDO capabilities but didnt close the form
That didnt work. i used that coding and it still performed the UNDO capabilities but didnt close the form
ghudson Registered User. Local time Today, 15:01 Joined Jun 8, 2002 Messages 6,194 May 18, 2006 #4 try... Code: DoCmd.RunCommand acCmdUndo DoCmd.Close acForm, Me.Name