Difference between revisions of "CheckAllQuotas"

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