Linq Adams via AccessMonster.com said:
I've never actually seen Access change the property in the property box,
but
the AllowEdits, AllowAdditions, AllowDeletes and Data Entry properties of
a
form used as a subform are over-ridden by how these properties are set in
the
Main form. If Data Entry is set to No on the Main form, in effect it'll be
set to No for the subform, because the subform is an object of the Main
form.
Can you give me a repro scenario? As I said, I tested a form with subform,
with the main form's Data Entry property set to No and the subform's Data
Entry property set to Yes, and it worked exactly as I expected: main form
normal, subform in data entry mode. I tested with Access 2003.
Now, if it were the other way around -- main form Data Entry, subform not --
it would certainly look at first sight like the main form was overriding the
subform, because every record on the main form would be a new record, so the
related records in the subform would have to be new ones. But a little
experimentation shows that the subform is not really in data entry mode.
The same thing holds true for the other properties I listed.
It is true that if the main form's AllowEdits property is set to No, then
the records on the subform can't be edited either. But that's not true for
AllowAdditions or AllowDeletions. Test it yourself, and tell me if you get
different results than I do.