Darren DICK
d.dick at uws.edu.au
Wed Jun 2 20:11:17 CDT 2004
Oh dear Thanks Charlotte Darren ----- Original Message ----- From: "Charlotte Foust" <cfoust at infostatsystems.com> To: "Access Developers discussion and problem solving" <accessd at databaseadvisors.com> Sent: Thursday, June 03, 2004 10:12 AM Subject: RE: [AccessD] A2K: Undo a Parent from a sub > 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 > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com