Moving Questions to the Top of the Blue Dropdown
// Working on Phone.sav, this moves the question named "Age" to the top of the Variables and Questions tab, and also the blue dropdown list. project.dataFiles.moveAfter(project.dataFiles.getQuestionByName('Age').variables, null);
- QScript for an explanation of how to run this code.
- QScript Examples Library for other examples.
- QScript Reference for technical information.