Hi
I am pretty new to JSL scripting. I cant seem to find a script to rename of a column header from one name to another
Appologies this is probably obvious to most here
Here is an example from
Help==>Scripting Index==>Data Table==>Column Scripting
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
:Age << Set Name( "Time" );
Here is an example from
Help==>Scripting Index==>Data Table==>Column Scripting
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
:Age << Set Name( "Time" );
Thanks alot Jim
Thats exactly what I needed. I was using a variation on that script that I had been messing around with for ages and could not make it work.
Thanks also for showing where you found it.
In the future, you might find the on-line help useful. In this case:
You will find the correct syntax with arguments and options. You can run an example and observe the result. You can click Topic Help to go to the more complete coverage in the main help system.
You can also search in Objects with column name for example to find all related functions or messages.