dt<<Select All Rows;
Since this worked I tried to go for a simpler code than the original one I had to see if I could get things on track using the JMP instructions. I tried to following code unsuccessfully:
dt = Open( "myfile.jmp" );
dt<<Select Where( :ID==10322);
I ran it with no error message coming up but nothing happened. I checked the specific row which should have been selected but it was still unselected. I tried again but still nothing. Going in the script log, I found the following:
//:*/
dt = Open( "myfile.jmp" );
dt << Select Where( :ID==10322 );
/*:
Scriptable[]
//:*/
dt = Open( "Pre_Post_Freshman_Screener_.jmp" );
dt << Select Where( :ID==10322 );
I tried switching the code to ID=10322 to see if it would make a difference and got the following:
/*:
//:*/
dt = Open( "Pre_Post_Freshman_Screener_.jmp" );
dt << Select Where( :ID=10322 );
/*:
Use == for comparison, = is assignment
Use == for comparison, = is assignment{1}
//:*/
dt = Open( "Pre_Post_Freshman_Screener_.jmp" );
dt << Select Where( :ID=10322 );
/*:
Use == for comparison, = is assignment
Use == for comparison, = is assignment{1}
//:*/
dt = Open( "Pre_Post_Freshman_Screener_.jmp" );
dt << Select Where( :ID=10322 );
/*:
I can't help but think that this must be a simple error but I'm still stumped. Any thoughts?
Thanks again for your help!