ChangeSampleRuleByName

From Catglobe Wiki
Revision as of 10:36, 26 October 2016 by Tranvuthaibinh (talk | contribs) (Created page with "Category:Questionnaire_Functions {{HelpFiles}} ==== changeSampleRuleByName==== Change the current questionnaire answer sheet’s sample to the specific sample of the sa...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search



changeSampleRuleByName

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

changeSampleRuleByName(sampleName)

Arguments

sampleName: Is a string expression which is the name of the sample.

Return type

bool

Example

bool b = changeSampleRuleByName("Group : Male - Age 18 - 29 Y.O.");
print(b);