Difference between revisions of "QAS deleteData"
Nguyenduyan (talk | contribs) (→QAS_deleteData) |
Nguyenduyan (talk | contribs) (→QAS_deleteData) |
||
Line 18: | Line 18: | ||
array answerSheetIds={28415738,28415739,28415740}; | array answerSheetIds={28415738,28415739,28415740}; | ||
− | QAS_deleteData(answerSheetIds); //returned: | + | QAS_deleteData(answerSheetIds); //returned Result: {} |
'''Example 2''' | '''Example 2''' | ||
Line 24: | Line 24: | ||
array answerSheetIds={28415738,28415739,28415740};// 28415740 is an invalid answer sheet id | array answerSheetIds={28415738,28415739,28415740};// 28415740 is an invalid answer sheet id | ||
− | QAS_deleteData(answerSheetIds); //returned: | + | QAS_deleteData(answerSheetIds); //returned Result: {28415740} |
'''Availability''' | '''Availability''' |
Revision as of 08:39, 10 April 2012
QAS_deleteData
This function is to delete data for a list of Questionnaire Answer Sheets
Syntax
QAS_deleteData(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 delete data
Example 1
array answerSheetIds={28415738,28415739,28415740};
QAS_deleteData(answerSheetIds); //returned Result: {}
Example 2
array answerSheetIds={28415738,28415739,28415740};// 28415740 is an invalid answer sheet id
QAS_deleteData(answerSheetIds); //returned Result: {28415740}
Availability
Version 5.9.5