Questionnaire setQuotaTarget

From Catglobe Wiki
Jump to: navigation, search



Questionnaire_setQuotaTarget

Set a quota's target

Syntax

Questionnaire_setQuotaTarget(quotaName, quotaTarget)

or

Questionnaire_setQuotaTarget(quotaName, quotaTarget, questionnaireResourceId)

Arguments

  • quotaName: is a string expression. It is the quota's name
  • quotaTarget: is a number expression, it must be a positive integer
  • questionnaireResourceId: is a number expression, it is the questionnaire's resource id. When this argument is not specified, the current answer sheet's questionnaire or the current questionnaire context (when executed in questionnaire script prompt) will be used

Return value

empty

Example

Questionnaire_setQuotaTarget("1 - target DK", 15, 15186613);

Availability

Version 5.6