Charlotte Foust
cfoust at infostatsystems.com
Wed Jun 2 19:12:52 CDT 2004
You can't. The parent record has already been saved when you move into the subform. You would have to store the previous values in the beforeupdate event of the parent form and then have a rollback method to restore them. Charlotte Foust -----Original Message----- From: Darren DICK [mailto:d.dick at uws.edu.au] Sent: Wednesday, June 02, 2004 3:55 PM To: AccessD List Subject: [AccessD] A2K: Undo a Parent from a sub Hello all The standard Me.Undo will perform a record level undo if activated from a form. Excellent How do I perform a Me.Undo (to the parent) from a sub form? Eg Me.Parent.Undo doesn't work Me.Parent.Form.Undo doesn't work dim strFormName strFormName = Me.Parent.Form.Name Forms(strFormName).Undo doesn't work Any suggestions? Darren -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com