cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Learn how to build custom Python data connectors and further customize JMP’s Data Connector Framework with the Python Data Connector Demo, available now in the JMP Marketplace!
  • See how to create experiments to support product design and ID useful product features. Register for June 12 webinar, 2pm US Eastern Time.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
bzanos
Level III

Error Message "Please select the rows to be deleted"

Hi,

when I am running JSL script, there is message in the log,  "Please select the rows to be deleted".

But the script is still running. I could identify anything error in my code.

Does anyone know what will cause this error?

 

dt1 << Select Where(:Tcount > 40);
dt1 << Delete Rows;
1 ACCEPTED SOLUTION

Accepted Solutions
txnelson
Super User

Re: Error Message "Please select the rows to be deleted"

Try( dt1 << Delete Rows );

or

If( dt << get selected rows > 0,
     dt1 << Delete Rows;
);
Jim

View solution in original post

5 REPLIES 5

Re: Error Message "Please select the rows to be deleted"

How many rows are selected after running the first line?

txnelson
Super User

Re: Error Message "Please select the rows to be deleted"

My initial guess is that there are no rows selected because there are no values of Tcount greater than 40.

Jim
bzanos
Level III

Re: Error Message "Please select the rows to be deleted"

Markbailey, Jim,

 

There is no rows selected as there are no values of Tcount greater than 40.

 Is there a way to avoid see this error?

txnelson
Super User

Re: Error Message "Please select the rows to be deleted"

Try( dt1 << Delete Rows );

or

If( dt << get selected rows > 0,
     dt1 << Delete Rows;
);
Jim
bzanos
Level III

Re: Error Message "Please select the rows to be deleted"

Thanks Jim

Recommended Articles