Hello,
I have a form with a subform in datasheet view. The form (frmMainForm) is originally saved with the form property "Allowedits" set a as false. If I open the form from the navigation panel then the subform is not editable, as expected. If I open the form via VBA with the docmd.openform instruction and then set the form.allowedits property to True programmatically then the subform still is not editable, as it is locked, while all other controls are editable. Can anybody explain this? I would like to avoid this in some way, i.e. keep the form saved with Allowedits false and then make it editable just changing that property.
Andy
I have a form with a subform in datasheet view. The form (frmMainForm) is originally saved with the form property "Allowedits" set a as false. If I open the form from the navigation panel then the subform is not editable, as expected. If I open the form via VBA with the docmd.openform instruction and then set the form.allowedits property to True programmatically then the subform still is not editable, as it is locked, while all other controls are editable. Can anybody explain this? I would like to avoid this in some way, i.e. keep the form saved with Allowedits false and then make it editable just changing that property.
Andy