Many thanks my dear friend khurshid . This has solved my problem, absolutely. Your solution is so beautiful and is not one i ever knew before. So, thanks a million times.
Dear Josh
Thanks for this code. In my code, we can assign only one option "Yes" OR "NO".
I have tried ischecked function but it is not working. The error message is: ERROR: 'isChecked' is not a declared variable or is a misspelled dictionary entry
ERROR: Single variable - cannot have subscript (unexpected left parenthesis) near line 4 in S4Q7 procedure
I have Version 7.0.2 dated 29 June 2017 and 7.1.0 (beta) dated 21 November 2017.