I have run into an odd problem I have never had in 15 years of messing around with MS Access.
I have a form which has buttons on a Option Group. When the user selects an option button, a tiny module runs that just closes the current form and opens the one they want to see. In this case, I want this form to be VIEW only and not allow edits. I am using the command of:
This works on every other form in my database, that records police activity for selected denizens of Glendale.
For some reason, I can save the form, then open and run it and it runs properly and opens the designated form in VIEW only mode. However, after that first time it no longer will open the form or work again. If I edit it, save it, I can then get it to work once, but no more.
I have compacted, repaired, and done everything else I can think of and have even recreated the form within the database, to no avail.
Perplexed and giddy in Glendale!
HELP?
I have a form which has buttons on a Option Group. When the user selects an option button, a tiny module runs that just closes the current form and opens the one they want to see. In this case, I want this form to be VIEW only and not allow edits. I am using the command of:
Code:
DoCmd.Close acForm, "ActivityView", acSaveYes
DoCmd.OpenForm "Arrests", acNormal, , , acFormReadOnly, acWindowNormal
For some reason, I can save the form, then open and run it and it runs properly and opens the designated form in VIEW only mode. However, after that first time it no longer will open the form or work again. If I edit it, save it, I can then get it to work once, but no more.
I have compacted, repaired, and done everything else I can think of and have even recreated the form within the database, to no avail.
Perplexed and giddy in Glendale!
HELP?
Comment