02-24-2010, 06:27 PM
Hi,
when i run this code 1255 is getting written in 3rd row of Action1 datasheet. But when i run this code step by step (F10), 1255 is getting written in 2nd row of the Action1 datasheet.
Can anyone explain me why this is happening????
Code:
DataTable("MyCol","Action1")=123456
row=DataTable.GetSheet("Action1").getCurrentRow
DataTable.SetCurrentRow(row+1)
DataTable.GetSheet("Action1").SetNextRow
DataTable("MyCol","Action1")=1255
when i run this code 1255 is getting written in 3rd row of Action1 datasheet. But when i run this code step by step (F10), 1255 is getting written in 2nd row of the Action1 datasheet.
Can anyone explain me why this is happening????