General information
Category:
Forms & Form designer
>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.
Well, the recordsource is a child table, so there is a kind of a SQL filter, because there are only records that match to the parent table. When the last row in the grid is focused, user can't move one line down and in that moment I'd like to put some code in action, let's say (just for simle example) that I want to say:
WAIT WINDOW "YOU'RE IN THE LAST ROW OF THE GRID"
If I check EOF() it is not necessary that the last record in the grid is also the last in a table.
Thank's, Zlatko.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only