- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
I have a form with a repeating subform that is first instantiated by a radio button (basically unless the "yes" button is checked the subform shouldn't display). I have a button to add instances of the subform, and a button to delete instances of the subform, and they work fine. However, if the last instance of the subform is deleted, I want the value of the radio button to change from "yes" to "no". The code I've been trying is (in the "click" event)
if Description_Value_Notes_and_Office_Notes.instanceManager.count=0
Yes_No_Base.rawValue='2';
However, not only does this not work, but it breaks my delete button.
Thanks for your help.
Views
Replies
0 Likes
Total Likes