[AccessD] Disable a subform

Arthur Fuller fuller.artful at gmail.com
Mon Mar 17 11:26:40 CDT 2008


I have code that displays a toolbar with buttons for Filter By Form and
Close (equivalent to remove filter). The code works fine. The problem is
that the form in question has a subform, and the result is that both forms
go into Filter by Form mode. Normally that would be slick, but in this case
not. I'm thinking that it may work if I disable the subform. I've forgotten
the syntax. I want something like:

<code>
Forms("myForm").subForm.Form.AllowEdits = False
</code>

Or something.

TIA,
Arthur



More information about the AccessD mailing list