>>>I don' find any property in a Grid to tell me the number of all rows in a
>>>grid I can move up and down. Any idea?
>
>>I don't know this property either, but you can calculate it: (grid.height-
>>header height)/(rowheight+linesheight (don't know, how it called, you can
>>neglect it, since it's small))
>
>Sorry, I don't mean this number of rows, I mean number of ALL rows in the grid (not only rows which are visible in a scrollable area of a grid). With other words: I'd like to know if the current row position is a bottom of the grid.
You can check if you an eof() or not. You also can compare recno(this.recordsource) with reccount(this.recordsource), but this works for not filtered grids and if there aro no deleted records or set deleted off.
If it's not broken, fix it until it is.
My Blog