Ok I've found an answear if anyone wants to know.Put this Formcalc inside layout:ready event for the subform these checkboxes are in. So no code is neccesarry inside the checkboxes.Heres the code for the layout:ready partif (Sum(subform.checkbox2, subform.checkbox3) ge 2) then checkbox1.access = ...