Quantcast
Channel: Our ComponentOne » All Posts
Viewing all articles
Browse latest Browse all 14170

How to tell if the next row does not exist in a true dbgrid

$
0
0

If I use the code c1grid.row = cgrid.row + 1 and there is no row there (only one row in the grid and I want to go to the next one), I do not get an error.

Is there an easier way than using rowcount to find out if a row exists. I wonder why this code works since there is only 1 row. How can you go to another row if there isn’t one?


Viewing all articles
Browse latest Browse all 14170

Trending Articles



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