Questionnaire getQuestionnaireByResourceId

From Catglobe Wiki
Jump to: navigation, search



Questionnaire_getQuestionnaireByResourceId

To get information of a questionnaire by resource id. (view the questionnaire object on Questionnaire_new)

Syntax

array Questionnaire_getQuestionnaireByResourceId (number questionnaireResourceId)

Arguments

questionnaireResourceId : resource id of questionnaire.

Return type

Array of questionnaire object see Questionnaire_new

Example

array a= Questionnaire_getQuestionnaireByResourceId(34806989);

print (a);

//{11,34806989,phong questionnaire 2,34409965,37246022,37257113,True,False,False,True,,36784747,,3,0,B2B CSN 01,{1,1,1,0,0,0,0,1,40},{1,1,1,0,0,0,0,1,40},{9999,12,31,23,59,59,999,52,40},{9999,12,31,23,59,59,999,52,40},0,phong questionnaire 2}

Availability

Version 5.8