Difference between revisions of "Quota targetReached"
Cg huyphong (talk | contribs) |
|||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
[[Category:Questionnaire_Functions]] | [[Category:Questionnaire_Functions]] | ||
− | + | {{HelpFiles}} | |
====Quota_targetReached==== | ====Quota_targetReached==== | ||
Line 14: | Line 14: | ||
- quotaName : the name of quota. | - quotaName : the name of quota. | ||
− | - PQResourceId : | + | - 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" | + | bool a= Quota_targetReached("male",34806989); |
'''Availability''' | '''Availability''' |
Latest revision as of 11: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