Ryu
7 years agoContributor
Way to check column with ADODriver?
I have ADODriver executing a SQL query that returns a small 3x2 table, and the value that I am needing is in the second column. Now, it isn't it's own column in the database, but rather a count of a...
- 7 years ago
The parameter of "Value" indicates the column in the current row. The ADODriver returns a collection of rows you iterate through and then you specify which column you want to work with using Value(<column indicator>).
So, you'll iterate through the rows using a while loop and then, each time through the loop, you reference Value(1). That will return the value of the 2nd column (column index is based on zero).
See https://support.smartbear.com/testcomplete/docs/reference/program-objects/ddtdriver/value.html