I have a form which contains a subform. In the main forms on_current event, if the value of a specific text box on the main form is equal to a certain value, I set the allowedits property to false. What is happening is when you go to a form where the text box meets the criteria to set the allowedits to false, you can still edit all of the fields. But if you click on the subform, and then back on the main form, you can not make any edits. What am I doing wrong, or how can I make this work properly?