Quota targetReached

From Catglobe Wiki
Revision as of 11:16, 3 January 2012 by Cg huyphong (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search



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