Page 1 of 1

data exportation

Posted: May 16th, 2017, 9:19 am
by Kycau
How can i impose an order to my variables in the exportation
Please answers me, I want to know it. Because sometime, we need that variables comes in a n order in the data.
so, help me

Re: data exportation

Posted: May 16th, 2017, 10:29 am
by josh
If you use the export data tool the order will always be based on the order of the variables in the dictionary.

If you want finer control you can do the export from a batch application using the export statement in logic. Look in the help under "Export Statement" for details.

Re: data exportation

Posted: May 17th, 2017, 1:31 pm
by sah
In addition to Josh suggestion, you can also order the variables in final data software you are exporting to. for instance if it is stata, you can use the command order var1 var2 var3......