dropCase()

void dropCase()

The function dropCase() marks the current interview or the corresponding case in the data set to be deleted.

If the function is called up in the questionnaire, the Next button is hidden so that the respondent is unable to enter any more data. After a few minutes to a few hours, the case is then deleted from the data set.

The use of this function can be useful in combination with a Screenout (filtering of unsuitable participants) or after a not given Consent to Participate.

if (value('EW01') != 1) {
  text('EW02');
  dropCase();
}

Note: If you want to use the function pageStop() for a screenout filter, place the function below dropCase().

if (value('EW01') != 1) {
  text('EW02');
  dropCase();
  pageStop();
}