- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Error Message "Please select the rows to be deleted"
Created:
Sep 30, 2021 09:41 PM
| Last Modified: Sep 30, 2021 6:42 PM
(1300 views)
| Posted in reply to message from bzanos 09-30-2021
Try( dt1 << Delete Rows );
or
If( dt << get selected rows > 0,
dt1 << Delete Rows;
);
Jim
5 REPLIES 5
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Error Message "Please select the rows to be deleted"
How many rows are selected after running the first line?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Error Message "Please select the rows to be deleted"
Created:
Sep 30, 2021 09:41 PM
| Last Modified: Sep 30, 2021 6:42 PM
(1301 views)
| Posted in reply to message from bzanos 09-30-2021
Try( dt1 << Delete Rows );
or
If( dt << get selected rows > 0,
dt1 << Delete Rows;
);
Jim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Error Message "Please select the rows to be deleted"
Thanks Jim