Hi,
I wanted to add a column from my dt data table to my dc data table.
// Opens the Process Template file and sets dc as the reference to it.
dc = Open("Process Template.jmp");
// Sets the Process Template file as the current data table.
dc = Current Data Table();
// References to a column called Time.
Column("Time");
// Creates a column called colTime and sets it to the twelfth column in the current data table.
colTime = Column(12);
// Moves the newInstructionsColumn before the colTime column in the Process Template file.
dc << MoveSelectedColumns({dt:newInstructionsColumn}, Before(colTime));Above is the code I used to do this. There is already column before the colTime column so maybe that's why its not functioning correctly.
Any help would be appreciated.