Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21153

How to get row property wihtout looping?

$
0
0
Using flexgrid I have this table

accno | name
001 | Jose
002 | Juan
003 | Ken

Given the accno, I can get the row of a record in the grid using For loop

For x = 1 to grid.Rows - 1
If grid.Textmatrix(x, 0) = [the given accno] Then [required row] = x
Next

Can I obtain same output without looping?

Viewing all articles
Browse latest Browse all 21153

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>