Difference between revisions of "CheckAllQuotas"
Cg huyphong (talk | contribs) |
|||
Line 2: | Line 2: | ||
{{HelpFiles}} | {{HelpFiles}} | ||
− | ====checkAllQuotas==== | + | ==== checkAllQuotas ==== |
− | Returns true if any quotas of the questionnaire have reached their targets and the questionnaire answer sheet is in these quotas (*). | + | Returns true if any quotas of the questionnaire have reached their targets and the questionnaire answer sheet is in these quotas (*). |
− | + | (*)Quotas are defined by opening the questionnaire, choose tab Sample -> Add Quota | |
− | + | '''Syntax''' | |
− | + | checkAllQuotas() | |
− | + | '''Arguments''' | |
− | + | none | |
− | + | '''Return type''' | |
− | + | bool | |
− | + | '''Example''' | |
− | + | if (checkAllQuotas()) gotoQuestion("Appologize_Appreciate"); | |
− | Version 4.8 | + | '''Availability''' |
− | __NOTOC__ | + | |
− | <!-- imported from file: 578.htm--> | + | Version 4.8 __NOTOC__ <!-- imported from file: 578.htm--> |
Latest revision as of 09:57, 1 February 2012
checkAllQuotas
Returns true if any quotas of the questionnaire have reached their targets and the questionnaire answer sheet is in these quotas (*).
(*)Quotas are defined by opening the questionnaire, choose tab Sample -> Add Quota
Syntax
checkAllQuotas()
Arguments
none
Return type
bool
Example
if (checkAllQuotas()) gotoQuestion("Appologize_Appreciate");
Availability
Version 4.8