Hello,
I'm using the "get rows where" command to replace numerical values with a "P" or "N" depending on whether they hit a threshold value.
Here's the code:
dt = Open( "C:\test_data.jmp" );
thresh = 12; //User sets this threshold value
Try( dt:HOOK[dt << get rows where( :Hook >= thresh )] = "P" );
Try( dt:HOOK[dt << get rows where( :Hook == "" )] = "N" );
So this works well and populates the column with N's and P's. If I copy and paste those two try lines and change the column designation it won't work on the other columns. If I change the order of the commands or change the order of the columns, it still only does the Hook column.
What am I missing?
Thanks!
K