store !inlist(this.value, 2, 3) to Thisform.OptionGroup2.Option1.Enabled, Thisform.OptionGroup2.Option2.EnabledThis code means if the second or third button in the first group is the value, then the first and second options in the second group is disabled.