Difference between revisions of "GetRPQStatus"

From Catglobe Wiki
Jump to: navigation, search
(jrfconvert import)
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
[[Category:HelpBooks]]
+
[[Category:Questionnaire_Functions]]

+
{{HelpFiles}}
  
 
====getRPQStatus====
 
====getRPQStatus====

Latest revision as of 10:50, 12 December 2011



getRPQStatus

Returns the status of the current questionnaire answer sheet

Syntax

getRPQStatus()

Arguments

none

Return type

number: Is a numeric constant. There are five built-in constants for questionnaire answer sheet status:

  • RPQ_Status_Normal = 1,
  • RPQ_Status_QuotaFull = 2,
  • RPQ_Status_OutsideTarget = 3,
  • RPQ_Status_InterviewFailed = 4,
  • RPQ_Status_InterviewSucceeded = 5

Example

number status = getRPQStatus();

if(status == RPQ_Status_Normal)

print("Normal");

Availability

Version 5.0