Difference between revisions of "Quota deleteQuota"

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 quotas belong.
+
- PQResourceId : Resource Id of questionnaire to which quotas belong.If it's empty, the project questionnaire context is needed
  
 
'''Return type'''
 
'''Return type'''
Line 20: Line 20:
 
None
 
None
  
'''Example'''Quota_deleteQuota("male"[,34806989]);
+
'''Example'''
 +
 
 +
Quota_deleteQuota("male",34806989);
 +
 
 +
or
 +
 
 +
Quota_deleteQuota("male");
  
 
'''Availability'''
 
'''Availability'''

Latest revision as of 10:13, 3 January 2012



Quota_deleteQuota

To delete a quota.

Syntax

empty Quota_deleteQuota(string quotaName[, number PQResourceId])

Arguments

- quotaName : the name of quota.

- PQResourceId : Resource Id of questionnaire to which quotas belong.If it's empty, the project questionnaire context is needed

Return type

None

Example

Quota_deleteQuota("male",34806989);

or

Quota_deleteQuota("male");

Availability

Version 5.8