Solved
Forum Discussion
rraghvani
Champion Level 3
2 years agoMyVar is an Object, that just contains ColumnCount and nothing else. It should also contain TableVariable Object Properties. This is the reason why Reset fails, as there's no Iterator.
You need to check this,
to ensure it's returning the correct object type.
pkudrys
2 years agoFrequent Contributor
Thank you for your hint! I found the cause of the problem. The variable I created was DB Table, using CSV file and it's not compatible with the above code. Silly me :) The sample code from this page works as expected:
https://support.smartbear.com/testcomplete/docs/reference/program-objects/dbtablevar