Hi Everyone,
Background:
So I'm trying to automate a process I use to retrieve sample data from a SQL database. What I do is use the database query builder and extract data with a Post-Query Script which is where the dummy code below will go.
Problem:
I have currently got the script to create a new column and give it the formulas I want, but what would be really useful is having some lines of code to then shuffle some of these new columns around.
My Dummy code is as follows:
"
New Column( "ColumnToMove",
Numeric,
"Nominal",
Format( "Best", 12 )
Formula(1));
Move Selected Columns({“ColumnToMove”}, To First);
"
(Please forgive any misunderstandings of how this scripting language works, I'm currently very new to it)
Many thanks for any help given