This line is in the OnClick event of a subform. I want to open stDocName read only.
DoCmd.OpenForm stDocName, , , stLinkCriteria, acFormReadOnly, , strCaller
When the form opens Me.AllowAccess is false in both the Load event and the OnCurrent event. Yet I can edit all the data, close the form, and the edits show up in the calling form.
I've started with the decompile option, performed a Compact and Repair, and changed the database from Access 2003 to 2010. Still same problem. Access version 14.0.7106.4003 (32bit)
Anyone seen this before? Any suggestions on a solution?
DoCmd.OpenForm stDocName, , , stLinkCriteria, acFormReadOnly, , strCaller
When the form opens Me.AllowAccess is false in both the Load event and the OnCurrent event. Yet I can edit all the data, close the form, and the edits show up in the calling form.
I've started with the decompile option, performed a Compact and Repair, and changed the database from Access 2003 to 2010. Still same problem. Access version 14.0.7106.4003 (32bit)
Anyone seen this before? Any suggestions on a solution?