Tag Info

New answers tagged

3

This line: pRow = pCur.NextRow should be at the end of your loop Do Until pRow Is Nothing SegmentID = pRow.Value(pFieldIndex1) DrainName = pRow.Value(pFieldIndex2) MsgBox("SegmentID = " + SegmentID) MsgBox("DrainName = " + DrainName) pRow = pCur.NextRow Loop I think it's failing because you're trying to retrieve a value when ...



Top 50 recent answers are included