Difference between revisions of "CheckAllQuotas"

From Catglobe Wiki
Jump to: navigation, search
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
[[Category:Questionnaire_Functions]]
 
[[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 (*).(*)Quotas are defined by opening the questionnaire, choose tab Sample  -> Add Quota'''Syntax'''
+
Returns true if any quotas of the questionnaire have reached their targets and the questionnaire answer sheet is in these quotas (*).
  
checkAllQuotas()
+
(*)Quotas are defined by opening the questionnaire, choose tab Sample  -> Add Quota
  
'''Arguments'''
+
'''Syntax'''  
  
none
+
checkAllQuotas()
  
'''Return type'''
+
'''Arguments'''  
  
bool
+
none
  
'''Example'''
+
'''Return type'''  
  
if (checkAllQuotas()) gotoQuestion("Appologize_Appreciate");
+
bool
  
'''Availability'''
+
'''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 10: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