QAS exists

From Catglobe Wiki
Jump to: navigation, search


QAS_exists

Checks if answer sheet exists by its user resource id and questionnaire resource id.

Syntax

QAS_exists(pqRsId, userRsId)

Arguments

pqRsId: number. Is the project questionnaire resource id which is being checked if the user has answer sheet.

userRsId: number. Is the user resource id which is being checked in regards to finding whether he has answer sheet for the questionnaire.

Return type

bool

Examples

number qRsId=15532172;
number uRsId=15498958; 
bool a = QAS_exists(qRsId,uRsId);
print(a);