|
Whitebeam Object Definition
|
Method Description
qaBuilder.copyQa()
Create or re-initialise the questionare based on an existing questionnaire.
Syntax
number = qaBuilder.copyQa(qaBuilder, surveyName)
Parameters
The 'qaBuilder.copyQa' method takes 2 parameters:
Name | Type/Value | Range/Length | Description | qaBuilder | struct qaBuilder.qaBuilder | see definition | Required.
The qaBuilder instance to copy the initial state from.
| surveyName | string | | Optional.
The name of the survey.
|
Results
The 'qaBuilder.copyQa' method returns number:
Type/Value | Range/Length | Description |
number |
  |
The fileID of the new questionnaire or -1 for failure.
|
Remarks This method restarts a questionnaire from scratch, and will create
a file object to hold the questionnaire if an ID was not supplied when
this object was created. The initial state of the questionnaire is
copied from the supplied qaBuilder object. The version number of the questionnaire is incremented by one hundred. If a survey name is provided, it overrides the value in the
source questionnaire. |
|
(loadtime : 11ms) |