The "values( dt[0, 5] )" refers to the values to be placed into the data table. The "dt[0,5]" referred to the 5th row in the data table. It actually was an error in my code, it should have been, "values( dt[5, 0] )". The "0" refers to all columns in the data table. I have changed my code below to meet the new requirement.
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/blood pressure.jmp" );
dt << delete columns( 1, 2 );
rowNum = 5;
colNames = dt << get column names(string);
dt2 = New Table( "example",
New Column( "Label", character, values( colNames ) ),
New Column( "Row " || char( rowNum ), values( dt[rowNum, 0 ] ) ) );
Jim