Difference between revisions of "ChangeSampleRuleId"
(jrfconvert import) |
Cg huyphong (talk | contribs) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | [[Category: | + | [[Category:Questionnaire_Functions]] |
− | | + | {{HelpFiles}} |
====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