UCL WIKI

UCL Logo
Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

It is possible to have a condition which does not relate to a question. This is common in the introduction to a questionnaire. In Example 13 below, there is no previous question that the condition can be based on such as: 'Are you in full-time work?'. In this case, Therefore there is no condition logic to be entered and the square brackets will appear empty in the Archivist doc view.

As there is no question to reference for the condition, the condition label numbering uses the question number for the is labelled after the first question that is dependent on the condition.that condition in this case qc_51e. See Construct a Label for more on how to name conditions.

Example 13 Questionnaire: NSHD Main Questionnaire 1989

...

Tip
iconfalse
titleTable 1. Condition Notation

Comparisons

==

Is equal to

!=

Is NOT equal to

Less than

Greater than

Joining

&&

To join two comparisons using an AND

||

To join two comparisons using an OR

Qualifiers

‘ (single quote)

Meta value (numeric)

“ (double quote)

Literal string (text)



Anchor
Grid Coordinates
Grid Coordinates

Tip
borderWidth= 500.0px;
iconfalse
titleTable 2

Grid coordinates

$X$Col;YRow

Used to specify a cell or multiple cells of a grid


qc_example$3example$1;21


Example

Col 1Col

Row 1


Row 2


Col Row 3



qc_example$1;2

Example

Col 1

Row 1


Row 2


Row 3



qc_example$2;*


Example

Col 1

Col 2

Col 3

Row 1




Row 2




Row 3





qc_example$*;1


Example

Col 1

Col 2

Col 3

Row 1




Row 2




Row 3





qc_example


Example

Col 1

Col 2

Col 3

Row 1




Row 2




Row 3





qc_example$2:3;*

Example

Col 1

Col 2

Col 3

Row 1




Row 2




Row 3





qc_example$1,3;*

Example

Col 1

Col 2

Col 3

Row 1




Row 2




Row 3

...