Hollis,Virginia
HollisVJ at pgdp.usec.com
Mon Apr 5 06:25:23 CDT 2004
Another one - what about Undo? I used Forms!frm_Vendor.frm_ContactsSub.Form.Undo but it does not undo the entry on the subform. Also, where you have Me!subControl - that is not the name of the form is it? Is it each control on the form? This is a tabbed form I placed the subform on one of the tabs. Virginia -----Original Message----- From: Andy Lacey [mailto:andy at minstersystems.co.uk] Sent: Saturday, April 03, 2004 1:53 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] AllowEdits on Subform A subform has its own AllowEdits property Virginia. You can control it with the following code: Me!subControl.Form.AllowEdits = True/False -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Hollis,Virginia > Sent: 03 April 2004 18:50 > To: 'accessd at databaseadvisors.com' > Subject: [AccessD] AllowEdits on Subform > > > How do you prevent/allow Edits on a subform? > > I have a command button that is used to Edit a record. The > form does not allow edits without using the Edit Record > button. The problem is that the subform still allows edits > without using the Edit Record button. > > Virginia > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > > -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com