Scripting for column order
pcallan0
Forums
Hi folks,
I'm writing a script that involves several summarizations.
In some cases, the output rearranges the fields/columns in a way that is not very user friendly.
Is there any way of specifying the order of the fields/columns of the output file via the script?
Thanks,
Phil
Hi Phil,
Hi Phil,
Unfortunately there isn't, but there is a work around that I have used assuming that the fields names are always the same, if they are different there is no way this will work.
I will use the Sample-Bank Transactions.IMD file as an example.
Here the fields have been rearrangd.
Save the view.
I will reset the view on the file.
I then use this code to change the view to the new one: