My database I am creating is acting up again. I have a button on the switchboard which runs a macro to open up a form in read-only mode. On that form is an "edit" button, that when clicked, will run a macro to reopen the form in edit mode. This works great with the main form, but within this main form I have four subforms as well. It is the subforms that I am having problems with.
I went into the form properties for each of the subforms and set the allow edits, allow deletions, and allow additions controls all to yes. Immediately after doing this everything works great. I can open the main form in read-only mode, and the subforms are also in read-only mode. Then when I click the edit button, all of the forms switch to edit mode. However, once I close the application and come back in the next time, for some reason the allow edits, deletions, and additions choices have all defaulted back to no for each of my subforms. Does anybody have any idea what is causing this to happen? Is my first macro that opens the forms in read only mode causing the allow edits, deletions, and additions buttons to default back to no? Any help would be greatly appreciated because like us all, there is a deadline looming on the not so distant horizon.
I went into the form properties for each of the subforms and set the allow edits, allow deletions, and allow additions controls all to yes. Immediately after doing this everything works great. I can open the main form in read-only mode, and the subforms are also in read-only mode. Then when I click the edit button, all of the forms switch to edit mode. However, once I close the application and come back in the next time, for some reason the allow edits, deletions, and additions choices have all defaulted back to no for each of my subforms. Does anybody have any idea what is causing this to happen? Is my first macro that opens the forms in read only mode causing the allow edits, deletions, and additions buttons to default back to no? Any help would be greatly appreciated because like us all, there is a deadline looming on the not so distant horizon.