Difference between revisions of "ChangeSampleRuleId"
Line 1: | Line 1: | ||
[[Category:Questionnaire_Functions]] | [[Category:Questionnaire_Functions]] | ||
− | | + | {{HelpFiles}} |
====changeSampleRuleId==== | ====changeSampleRuleId==== |
Revision as of 10:44, 12 December 2011
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