I have a 'Welcome' screen that is modal,so that users can't "hurt" themselves when using the application. The welcone screen has a large tab control which contains a single subform under each tab. These were created as separate forms and then dragged and dropped into the tab control. There is a button on each subform that will 'enable' the editing of a record, or to allow creating a new record. The code is a call that sets "Thisform"(Defined as Screen.ActiveForm) AllowEdits, AllowAdditions and AllowDeletions properties to 'True".
This works fine when each form is opened individually. But when I go through the 'Welcome' form, it doesn't work. I think it's because "Thisform" ends up being the welcome form.
If I try to enable the tab control using the Me!PgeName.enable (when the default value for me!pgeName is disabled), the button is also disabled and the thing just looks at me.
The reason behind this approach is so a user can be restricted from adding a new record by hiding an 'add record' button, and prevented from editing a record by hiding an 'Edit' button for each subform (one per tab)