Page 1 of 1

Moving variable to front

Posted: Tue Mar 14, 2017 5:14 pm
by jenna36
I'm still new to SPSS Syntax and I have reordered variables in syntax often, but I need to move the ID variable which is in the back of the database to the very front. I know I can drag and drop that quite easily, but I want the process automated for the future. The /keep subcommand doesn't seem like it would be used here because I don't want any variables before the ID variable, but I don't know how else to reorder variables in syntax and I can't find anything online.