There is no row at position

Hi,

I assigned in my data table value in a variable and pushing data one by one with the help increment counter I have read excel sheet it contains 1893 rows

Assign Operation = BulidinDt.Rows(IntCounter).Item(“Item ID”)
Getting Errors AS: " There is no row at position 1892"

image

kindly help to resolve the issue

Regards,
Bala.S

Hi @BALASUBRAMANIAN,
Please remember that in programming the indexes are starting from 0 not from 1. Maybe this is the clue here?

Hi @pabilto,

I am adding data in the build-in data table and the Starting index number is 0

PFA screenshot of Data row count

image

Regards,
Bala.S

Are you able to show me the process from the moment you are defining what will be pushed to DataTable variable till the moment when you want to use this variable to push data to excel?

Hi,
If are getting the Total Count as 1892 ans counter starting from 0, please check the condition
like below
while(counter<Total Count)
{
//Loops from counter 0 to 1891
}

I wish it works, still if you have issues please share your logic or send the Scrrenshot

1 Like

Hi Venu,

Issue resolved thanks a lot For your support

Regards,
Bala.S

Hi Pablito,

Issue resolved thanks lot for your support

Regards,
Bala.S

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.