Difference between revisions of "ChangeSampleRuleId"
Cg huyphong (talk | contribs) |
|||
Line 4: | Line 4: | ||
====changeSampleRuleId==== | ====changeSampleRuleId==== | ||
− | Change the current questionnaire answer sheet’s sample to | + | Change the current questionnaire answer sheet’s sample to the specific sample of the same PQ. Return true if changing succeeds or the questionnaire answer sheet already exists in that sample, otherwise return false. |
+ | |||
+ | '''Syntax''' | ||
changeSampleRuleId(''sampleId'') | changeSampleRuleId(''sampleId'') | ||
Line 10: | Line 12: | ||
'''Arguments''' | '''Arguments''' | ||
− | ''sampleId'': Is a number expression which is the id of the sample.'''Return type''' | + | ''sampleId'': Is a number expression which is the id of the sample. |
+ | |||
+ | '''Return type''' | ||
bool | bool |
Latest revision as of 06:33, 28 December 2011
changeSampleRuleId
Change the current questionnaire answer sheet’s sample to the specific sample of the same PQ. 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