Question

How to delete rows from Data Table using Activity
I have a requirement to delete all rows from data table by running activity. Can I use OBJ delete method?
-
Like (0)
-
Accepted Solution

Tried changing the pxresults to pxResults but still same error.
I created new activity with exactly same steps and this is working fine.
Dont know whats the reason for it Thanks for all the help

Hi,
You can loop through the list and use Obj-Delete/Obj-Delete-By-Handle.

obj delete just deleting the page from clipboard/tracer but i can still see date in data table

Did you commit the changes after Obj-Delete is done?
Could you please share the screenshot of the activity if possible.

Yes i did gave commint My problem is after obj browser activity going to comming step skipping obj-delete-by handle Attached screenshots

Hi
Can you do below things:
1. Update step page of loop to bcd.pxResults
2. Define the page in pages and classes tab.
Please share the tracer screenshot, if it still doesnt work.
Regards
Bhavya

Hi Check the screenshots attached.
Dont know why obj delete by handle step is skipped

It might be because Obj-Browse results will be stored in pxResults and you are giving pxresults.
Could you please try changing it to pxResults.

Hi
As I mentioned in my comment, you need to update the page name to bcd.pxResults.
You page name is incorrect so the loop wont execute.
Regards
Bhavya
Accepted Solution

Tried changing the pxresults to pxResults but still same error.
I created new activity with exactly same steps and this is working fine.
Dont know whats the reason for it Thanks for all the help