Difference between revisions of "QAS reset"

From Catglobe Wiki
Jump to: navigation, search
(QuestionnaireAnswerSheet_reset)
(QAS_reset)
Line 3: Line 3:
 
==== QAS_reset  ====
 
==== QAS_reset  ====
  
This function is to reset a Questionnaire Answer Sheet
+
This function is to reset a list of Questionnaire Answer Sheets
  
 
'''Syntax'''
 
'''Syntax'''
  
QuestionnaireAnswerSheet_reset()
+
QAS_reset(array answerSheetIds)  
 
 
or
 
 
 
QuestionnaireAnswerSheet_reset(number QASID)  
 
  
 
'''Arguments'''
 
'''Arguments'''
QASID is a numeric (non-decimal) expression. It is the Questionnaire Answer Sheet ID of current Questionnaire.  
+
answerSheetIds is an array expression. It is the Questionnaire Answer Sheet IDs of current Questionnaire.  
  
 
'''Return type''
 
'''Return type''
  
empty
+
array of answer sheet ids where the function could not reset
  
 
'''Examples'''
 
'''Examples'''
  
QuestionnaireAnswerSheet_reset();  
+
array answerSheetIds={28415738,28415739,28415740};
  
QuestionnaireAnswerSheet_reset(28415738);  
+
QAS_reset(answerSheetIds);  
  
 
'''Availability'''
 
'''Availability'''
  
Version 5.6 __NOTOC__  
+
Version 5.9.5 __NOTOC__  
  
 
[[Category:Questionnaire_Functions]]
 
[[Category:Questionnaire_Functions]]

Revision as of 03:32, 28 March 2012



QAS_reset

This function is to reset a list of Questionnaire Answer Sheets

Syntax

QAS_reset(array answerSheetIds)

Arguments answerSheetIds is an array expression. It is the Questionnaire Answer Sheet IDs of current Questionnaire.

'Return type

array of answer sheet ids where the function could not reset

Examples

array answerSheetIds={28415738,28415739,28415740};

QAS_reset(answerSheetIds);

Availability

Version 5.9.5