Difference between revisions of "Quota targetReached"

From Catglobe Wiki
Jump to: navigation, search
 
Line 14: Line 14:
 
- quotaName : the name of quota.
 
- quotaName : the name of quota.
  
- PQResourceId : Id of questionnaire to which quota belongs.
+
- PQResourceId : Resource id of questionnaire to which quota belongs.If it is empty, the project questionnaire context is required
  
 
'''Return type'''
 
'''Return type'''
Line 22: Line 22:
 
'''Example'''
 
'''Example'''
  
bool a= Quota_targetReached("male"[,34806989]);
+
bool a= Quota_targetReached("male",34806989);
  
 
'''Availability'''
 
'''Availability'''

Latest revision as of 12:16, 3 January 2012



Quota_targetReached

To check whether one quota of a questionnaire reaches its target..

Syntax

bool Quota_targetReached(string quotaName[, number PQResourceId])

Arguments

- quotaName : the name of quota.

- PQResourceId : Resource id of questionnaire to which quota belongs.If it is empty, the project questionnaire context is required

Return type

bool

Example

bool a= Quota_targetReached("male",34806989);

Availability

Version 5.8