Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Number of Maximum Rows in a Grid
Message
From
30/10/2001 05:16:08
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00574272
Message ID:
00574904
Views:
25
>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
Map
View

Click here to load this message in the networking platform