ChangeSampleRuleId
changeSampleRuleId
Change the current questionnaire answer sheet’s sample to a specific sample. Return true if changing succeeds or the questionnaire answer sheet already exists in that sample, otherwise return false.Syntax
changeSampleRuleId(sampleId)
Arguments
sampleId: Is a number expression which is the id of the sample.Return type
bool
Example
bool b = changeSampleRuleId(2);
print(b);
Availability
Version 4.9