Loop!
Posted: June 28th, 2024, 12:44 am
Dear sir/mam,
I have a HouseHold roster with question Q1-name, Q2-sex, Q3-age and out of roaster I have Q5- Respondent age is to be entered. I need a logic which will check the age entered in Q5 is matching with any age entered in Q3 if not then errmsg should appear.
I am trying creating loop but the errmsg appears for every occurrence of Q3 which is not equal to the number entered.
I have a HouseHold roster with question Q1-name, Q2-sex, Q3-age and out of roaster I have Q5- Respondent age is to be entered. I need a logic which will check the age entered in Q5 is matching with any age entered in Q3 if not then errmsg should appear.
I am trying creating loop but the errmsg appears for every occurrence of Q3 which is not equal to the number entered.