Questionnaire quotaExists

From Catglobe Wiki
Jump to: navigation, search



Questionnaire_quotaExists

Check if a quota exists by its name

Syntax

Questionnaire_quotaExists(quotaName)

or

Questionnaire_quotaExists(quotaName, questionnaireResourceId)

Arguments

  • quotaName: is a string expression. It is name of the quota
  • questionnaireResourceId: is a number expression. It is the questionnaire's resource id, if not specified, the current answer sheet's questionnaire or the current questionnaire context (when executed in questionnaire script prompt) will be used

Return value

bool

Example

bool b = Questionnaire_quotaExists("1 - target DK", 15186613);

Availability

Version 5.6