Back to my old script…
I start with assign (intRowCounter = 0)
IdOnCurrentRowIsEmpty = dt1.Rows(intRowCounter)(“Id”).ToString = “”
Then I created this to find if my next row has a ID or not…
IdOnNextRowIsEmpty = dt1.Rows(intRowCounter+1)(“Id”).ToString = “”
and then at the end Im doing
intRowCounter = intRowCounter+1
it works as long my table has next row…
When im at Id (140 or 150) its works but it gives Error when I reach to current row id (160) it gives error on Assign - ‘IdOnNextRowIsEmpty’: There is no row at position 5.
I want to register that Id 160 also in system and get a sysid from system to that sysid colum… which I can not do right now as its giving error on assign.
how to solv this … can someone help…