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 = "readOnly"else checkbox1.access = "open"endif if
(Sum(subform.checkbox1, subform.checkbox3) ge 2) then checkbox2.access =
"readOnly"else checkbox2.access = "open"endif if (Sum(subform.checkbox1,
subform....