Difference between revisions of "CheckAllQuotas"
(jrfconvert import) |
|||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | [[Category: | + | [[Category:Questionnaire_Functions]] |
− | | + | {{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''' |
− | Version 4.8 | + | if (checkAllQuotas()) gotoQuestion("Appologize_Appreciate"); |
− | __NOTOC__ | + | |
− | <!-- imported from file: 578.htm--> | + | '''Availability''' |
+ | |||
+ | 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