QAS deleteData

From Catglobe Wiki
Revision as of 08:18, 10 April 2012 by Nguyenduyan (talk | contribs) (Created page with "==== QAS_deleteData ==== This function is to delete a list of Questionnaire Answer Sheets '''Syntax''' QAS_reset(array answerSheetIds) '''Arguments''' answerSheetIds is an...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

QAS_deleteData

This function is to delete 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

Example 1

array answerSheetIds={28415738,28415739,28415740};

QAS_reset(answerSheetIds); //returned: result {}

Example 2

array answerSheetIds={28415738,28415739,28415740};// 28415740 is an invalid answer sheet id

QAS_reset(answerSheetIds); //returned: result {28415740}

Availability

Version 5.9.5