Hi there
Working to a deadline of tomorrow morning and came across a problem
If I set the AllowEdits property to false and load a form it works fine and you can't edit the form.
BUT if I do the same but load the above form from another form via a button you can edit the supposedly non-editable form. I've stepped through the code and it definitely sets AllowEdits to false but still allows edits...
I've also tried using acFormReadOnly with Docmd.openform:
DoCmd.OpenForm stDocName, acNormal, , stLinkCriteria, acFormReadOnly
but this opens the form allowing full read-write.
Please can someone suggest what's amiss.
Working to a deadline of tomorrow morning and came across a problem
If I set the AllowEdits property to false and load a form it works fine and you can't edit the form.
BUT if I do the same but load the above form from another form via a button you can edit the supposedly non-editable form. I've stepped through the code and it definitely sets AllowEdits to false but still allows edits...
I've also tried using acFormReadOnly with Docmd.openform:
DoCmd.OpenForm stDocName, acNormal, , stLinkCriteria, acFormReadOnly
but this opens the form allowing full read-write.
Please can someone suggest what's amiss.