Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Number of Maximum Rows in a Grid
Message
 
 
À
30/10/2001 05:16:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00574272
Message ID:
00575020
Vues:
28
>>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.

In your situation EOF() should work as a check.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform