G
Geoff Jones
Hi
Can anybody help me with the following question?
Suppose I have the following code, where myTable is already defined
elsewhere:
For Each row In myTable.Rows
' Get an index for the row
Next
Within the loop, I'd like to be able to get hold of the zero based index for
the row being used. I know that I could simply add a variable before the
loop and then increment it within the loop, but I think there is an inbuilt
function to do it e.g. row.GetIndex(), or whatever.
Can anybody help?
Geoff
Can anybody help me with the following question?
Suppose I have the following code, where myTable is already defined
elsewhere:
For Each row In myTable.Rows
' Get an index for the row
Next
Within the loop, I'd like to be able to get hold of the zero based index for
the row being used. I know that I could simply add a variable before the
loop and then increment it within the loop, but I think there is an inbuilt
function to do it e.g. row.GetIndex(), or whatever.
Can anybody help?
Geoff